Liferay 7.0-ce-a2

com.liferay.portal.cache.mvcc
Class MVCCPortalCache<K extends Serializable,V extends MVCCModel>

java.lang.Object
  extended by com.liferay.portal.kernel.cache.PortalCacheWrapper<K,V>
      extended by com.liferay.portal.cache.mvcc.MVCCPortalCache<K,V>
All Implemented Interfaces:
PortalCache<K,V>

public class MVCCPortalCache<K extends Serializable,V extends MVCCModel>
extends PortalCacheWrapper<K,V>


Field Summary
 
Fields inherited from class com.liferay.portal.kernel.cache.PortalCacheWrapper
portalCache
 
Fields inherited from interface com.liferay.portal.kernel.cache.PortalCache
DEFAULT_TIME_TO_LIVE
 
Constructor Summary
MVCCPortalCache(LowLevelCache<K,V> lowLevelCache)
           
 
Method Summary
 void put(K key, V value)
           
 void put(K key, V value, int timeToLive)
           
 
Methods inherited from class com.liferay.portal.kernel.cache.PortalCacheWrapper
get, getKeys, getName, getPortalCacheManager, getPortalCacheName, getWrappedPortalCache, registerPortalCacheListener, registerPortalCacheListener, remove, removeAll, setPortalCache, unregisterPortalCacheListener, unregisterPortalCacheListeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MVCCPortalCache

public MVCCPortalCache(LowLevelCache<K,V> lowLevelCache)
Method Detail

put

public void put(K key,
                V value)
Specified by:
put in interface PortalCache<K extends Serializable,V extends MVCCModel>
Overrides:
put in class PortalCacheWrapper<K extends Serializable,V extends MVCCModel>

put

public void put(K key,
                V value,
                int timeToLive)
Specified by:
put in interface PortalCache<K extends Serializable,V extends MVCCModel>
Overrides:
put in class PortalCacheWrapper<K extends Serializable,V extends MVCCModel>

Liferay 7.0-ce-a2