Liferay 7.0-ce-m3

com.liferay.portal.cache.ehcache
Class LiferayCacheDecorator

java.lang.Object
  extended by net.sf.ehcache.constructs.EhcacheDecoratorAdapter
      extended by com.liferay.portal.cache.ehcache.LiferayCacheDecorator
All Implemented Interfaces:
Cloneable, net.sf.ehcache.Ehcache, net.sf.ehcache.terracotta.InternalEhcache

public class LiferayCacheDecorator
extends net.sf.ehcache.constructs.EhcacheDecoratorAdapter


Field Summary
 
Fields inherited from class net.sf.ehcache.constructs.EhcacheDecoratorAdapter
underlyingCache
 
Constructor Summary
LiferayCacheDecorator(net.sf.ehcache.Ehcache underlyingCache)
           
 
Method Summary
 boolean equals(Object object)
           
 net.sf.ehcache.Ehcache getUnderlyingCache()
           
 int hashCode()
           
 void put(net.sf.ehcache.Element element, boolean doNotNotifyCacheReplicators)
           
 net.sf.ehcache.Element putIfAbsent(net.sf.ehcache.Element element, boolean doNotNotifyCacheReplicators)
           
 boolean remove(Object key, boolean doNotNotifyCacheReplicators)
           
 boolean remove(Serializable key, boolean doNotNotifyCacheReplicators)
           
 void removeAll(boolean doNotNotifyCacheReplicators)
           
 void removeAll(Collection<?> keys, boolean doNotNotifyCacheReplicators)
           
 
Methods inherited from class net.sf.ehcache.constructs.EhcacheDecoratorAdapter
acquireReadLockOnKey, acquireWriteLockOnKey, addPropertyChangeListener, bootstrap, calculateInMemorySize, calculateOffHeapSize, calculateOnDiskSize, clone, createQuery, disableDynamicFeatures, dispose, evictExpiredElements, flush, get, get, getAll, getAllWithLoader, getBootstrapCacheLoader, getCacheConfiguration, getCacheEventNotificationService, getCacheExceptionHandler, getCacheManager, getDiskStoreSize, getGuid, getInternalContext, getKeys, getKeysNoDuplicateCheck, getKeysWithExpiryCheck, getMemoryStoreSize, getName, getOffHeapStoreSize, getQuiet, getQuiet, getRegisteredCacheExtensions, getRegisteredCacheLoaders, getRegisteredCacheWriter, getSearchAttribute, getSearchAttributes, getSize, getStatistics, getStatus, getWithLoader, getWriterManager, hasAbortedSizeOf, initialise, isClusterBulkLoadEnabled, isClusterCoherent, isDisabled, isElementInMemory, isElementInMemory, isElementOnDisk, isElementOnDisk, isExpired, isKeyInCache, isNodeBulkLoadEnabled, isNodeCoherent, isReadLockedByCurrentThread, isSearchable, isValueInCache, isWriteLockedByCurrentThread, load, loadAll, put, putAll, putIfAbsent, putQuiet, putWithWriter, recalculateSize, registerCacheExtension, registerCacheLoader, registerCacheWriter, registerDynamicAttributesExtractor, releaseReadLockOnKey, releaseWriteLockOnKey, remove, remove, removeAll, removeAll, removeAndReturnElement, removeElement, removePropertyChangeListener, removeQuiet, removeQuiet, removeWithWriter, replace, replace, setBootstrapCacheLoader, setCacheExceptionHandler, setCacheManager, setDisabled, setName, setNodeBulkLoadEnabled, setNodeCoherent, setTransactionManagerLookup, toString, tryReadLockOnKey, tryWriteLockOnKey, unregisterCacheExtension, unregisterCacheLoader, unregisterCacheWriter, waitUntilClusterBulkLoadComplete, waitUntilClusterCoherent
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LiferayCacheDecorator

public LiferayCacheDecorator(net.sf.ehcache.Ehcache underlyingCache)
Method Detail

equals

public boolean equals(Object object)
Overrides:
equals in class Object

getUnderlyingCache

public net.sf.ehcache.Ehcache getUnderlyingCache()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

put

public void put(net.sf.ehcache.Element element,
                boolean doNotNotifyCacheReplicators)
Specified by:
put in interface net.sf.ehcache.Ehcache
Overrides:
put in class net.sf.ehcache.constructs.EhcacheDecoratorAdapter

putIfAbsent

public net.sf.ehcache.Element putIfAbsent(net.sf.ehcache.Element element,
                                          boolean doNotNotifyCacheReplicators)
Specified by:
putIfAbsent in interface net.sf.ehcache.Ehcache
Overrides:
putIfAbsent in class net.sf.ehcache.constructs.EhcacheDecoratorAdapter

remove

public boolean remove(Object key,
                      boolean doNotNotifyCacheReplicators)
Specified by:
remove in interface net.sf.ehcache.Ehcache
Overrides:
remove in class net.sf.ehcache.constructs.EhcacheDecoratorAdapter

remove

public boolean remove(Serializable key,
                      boolean doNotNotifyCacheReplicators)
Specified by:
remove in interface net.sf.ehcache.Ehcache
Overrides:
remove in class net.sf.ehcache.constructs.EhcacheDecoratorAdapter

removeAll

public void removeAll(boolean doNotNotifyCacheReplicators)
Specified by:
removeAll in interface net.sf.ehcache.Ehcache
Overrides:
removeAll in class net.sf.ehcache.constructs.EhcacheDecoratorAdapter

removeAll

public void removeAll(Collection<?> keys,
                      boolean doNotNotifyCacheReplicators)
Specified by:
removeAll in interface net.sf.ehcache.Ehcache
Overrides:
removeAll in class net.sf.ehcache.constructs.EhcacheDecoratorAdapter

Liferay 7.0-ce-m3