Liferay 7.0-ce-m2

com.liferay.portal.cache.ehcache
Class LockBasedMVCCEhcachePortalCache<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>
          extended by com.liferay.portal.cache.ehcache.LockBasedMVCCEhcachePortalCache<K,V>
All Implemented Interfaces:
PortalCache<K,V>

public class LockBasedMVCCEhcachePortalCache<K extends Serializable,V extends MVCCModel>
extends MVCCPortalCache<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
LockBasedMVCCEhcachePortalCache(LowLevelCache<K,V> lowLevelCache)
           
 
Method Summary
protected  void doPut(K key, V value, int timeToLive, boolean quiet)
           
 void remove(K key)
           
 
Methods inherited from class com.liferay.portal.cache.mvcc.MVCCPortalCache
put, put, putQuiet, putQuiet
 
Methods inherited from class com.liferay.portal.kernel.cache.PortalCacheWrapper
get, getKeys, getName, getPortalCacheManager, getWrappedPortalCache, registerCacheListener, registerCacheListener, removeAll, setPortalCache, unregisterCacheListener, unregisterCacheListeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LockBasedMVCCEhcachePortalCache

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

remove

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

doPut

protected void doPut(K key,
                     V value,
                     int timeToLive,
                     boolean quiet)
Overrides:
doPut in class MVCCPortalCache<K extends Serializable,V extends MVCCModel>

Liferay 7.0-ce-m2