Package com.atlassian.cache.ehcache
Class SynchronizedLoadingCacheDecorator
java.lang.Object
net.sf.ehcache.constructs.EhcacheDecoratorAdapter
com.atlassian.cache.ehcache.SynchronizedLoadingCacheDecorator
- All Implemented Interfaces:
Cloneable,net.sf.ehcache.Ehcache,net.sf.ehcache.terracotta.InternalEhcache
public class SynchronizedLoadingCacheDecorator
extends net.sf.ehcache.constructs.EhcacheDecoratorAdapter
-
Field Summary
Fields inherited from class net.sf.ehcache.constructs.EhcacheDecoratorAdapter
underlyingCache -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanremove(Serializable key) booleanremove(Serializable key, boolean doNotNotifyCacheReplicators) booleanbooleanvoidvoidremoveAll(boolean doNotNotifyCacheReplicators) protected <V> net.sf.ehcache.ElementsynchronizedLoad(Object key, Function<Object, V> loader, Consumer<net.sf.ehcache.Element> postLoadProcessor) 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, put, putAll, putIfAbsent, putIfAbsent, putQuiet, putWithWriter, recalculateSize, registerCacheExtension, registerCacheLoader, registerCacheWriter, registerDynamicAttributesExtractor, releaseReadLockOnKey, releaseWriteLockOnKey, 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
-
Constructor Details
-
SynchronizedLoadingCacheDecorator
public SynchronizedLoadingCacheDecorator(net.sf.ehcache.Ehcache delegate)
-
-
Method Details
-
synchronizedLoad
-
remove
- Specified by:
removein interfacenet.sf.ehcache.Ehcache- Overrides:
removein classnet.sf.ehcache.constructs.EhcacheDecoratorAdapter
-
remove
- Specified by:
removein interfacenet.sf.ehcache.Ehcache- Overrides:
removein classnet.sf.ehcache.constructs.EhcacheDecoratorAdapter
-
remove
- Specified by:
removein interfacenet.sf.ehcache.Ehcache- Overrides:
removein classnet.sf.ehcache.constructs.EhcacheDecoratorAdapter
-
remove
- Specified by:
removein interfacenet.sf.ehcache.Ehcache- Overrides:
removein classnet.sf.ehcache.constructs.EhcacheDecoratorAdapter
-
removeAll
public void removeAll()- Specified by:
removeAllin interfacenet.sf.ehcache.Ehcache- Overrides:
removeAllin classnet.sf.ehcache.constructs.EhcacheDecoratorAdapter
-
removeAll
public void removeAll(boolean doNotNotifyCacheReplicators) - Specified by:
removeAllin interfacenet.sf.ehcache.Ehcache- Overrides:
removeAllin classnet.sf.ehcache.constructs.EhcacheDecoratorAdapter
-