public class ModifiableEhcacheWrapper
extends java.lang.Object
implements net.sf.ehcache.Ehcache
| Constructor and Description |
|---|
ModifiableEhcacheWrapper(net.sf.ehcache.Ehcache ehcache) |
| Modifier and Type | Method and Description |
|---|---|
void |
acquireReadLockOnKey(java.lang.Object key) |
void |
acquireWriteLockOnKey(java.lang.Object key) |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener propertyChangeListener) |
void |
addReference() |
void |
bootstrap() |
long |
calculateInMemorySize()
Deprecated.
As of 6.2.0
|
long |
calculateOffHeapSize()
Deprecated.
As of 6.2.0
|
long |
calculateOnDiskSize()
Deprecated.
As of 6.2.0
|
java.lang.Object |
clone() |
net.sf.ehcache.search.Query |
createQuery() |
void |
disableDynamicFeatures() |
void |
dispose() |
boolean |
equals(java.lang.Object object) |
void |
evictExpiredElements() |
void |
flush() |
net.sf.ehcache.Element |
get(java.lang.Object key) |
net.sf.ehcache.Element |
get(java.io.Serializable key) |
int |
getActiveReferenceCount() |
java.util.Map<java.lang.Object,net.sf.ehcache.Element> |
getAll(java.util.Collection<?> keys) |
java.util.Map |
getAllWithLoader(java.util.Collection keys,
java.lang.Object argument) |
net.sf.ehcache.bootstrap.BootstrapCacheLoader |
getBootstrapCacheLoader() |
net.sf.ehcache.config.CacheConfiguration |
getCacheConfiguration() |
net.sf.ehcache.event.RegisteredEventListeners |
getCacheEventNotificationService() |
net.sf.ehcache.exceptionhandler.CacheExceptionHandler |
getCacheExceptionHandler() |
net.sf.ehcache.CacheManager |
getCacheManager() |
int |
getDiskStoreSize()
Deprecated.
As of 6.2.0
|
java.lang.String |
getGuid() |
java.lang.Object |
getInternalContext() |
java.util.List |
getKeys() |
java.util.List |
getKeysNoDuplicateCheck()
Deprecated.
As of 6.2.0
|
java.util.List |
getKeysWithExpiryCheck() |
long |
getMemoryStoreSize()
Deprecated.
As of 6.2.0
|
java.lang.String |
getName() |
long |
getOffHeapStoreSize()
Deprecated.
As of 6.2.0
|
net.sf.ehcache.Element |
getQuiet(java.lang.Object key) |
net.sf.ehcache.Element |
getQuiet(java.io.Serializable key) |
java.util.List<net.sf.ehcache.extension.CacheExtension> |
getRegisteredCacheExtensions() |
java.util.List<net.sf.ehcache.loader.CacheLoader> |
getRegisteredCacheLoaders() |
net.sf.ehcache.writer.CacheWriter |
getRegisteredCacheWriter() |
<T> net.sf.ehcache.search.Attribute<T> |
getSearchAttribute(java.lang.String attributeName) |
java.util.Set<net.sf.ehcache.search.Attribute> |
getSearchAttributes() |
int |
getSize() |
net.sf.ehcache.statistics.StatisticsGateway |
getStatistics() |
net.sf.ehcache.Status |
getStatus() |
net.sf.ehcache.Element |
getWithLoader(java.lang.Object key,
net.sf.ehcache.loader.CacheLoader cacheLoader,
java.lang.Object argument) |
net.sf.ehcache.Ehcache |
getWrappedCache() |
net.sf.ehcache.writer.CacheWriterManager |
getWriterManager() |
boolean |
hasAbortedSizeOf() |
int |
hashCode() |
void |
initialise() |
boolean |
isClusterBulkLoadEnabled() |
boolean |
isClusterCoherent()
Deprecated.
As of 6.1.0, replaced by
isClusterBulkLoadEnabled() |
boolean |
isDisabled() |
boolean |
isElementInMemory(java.lang.Object key) |
boolean |
isElementInMemory(java.io.Serializable key) |
boolean |
isElementOnDisk(java.lang.Object key) |
boolean |
isElementOnDisk(java.io.Serializable key) |
boolean |
isExpired(net.sf.ehcache.Element element) |
boolean |
isKeyInCache(java.lang.Object key) |
boolean |
isNodeBulkLoadEnabled() |
boolean |
isNodeCoherent()
Deprecated.
As of 6.1.0, replaced by
isNodeBulkLoadEnabled() |
boolean |
isReadLockedByCurrentThread(java.lang.Object key) |
boolean |
isSearchable() |
protected boolean |
isStatusAlive() |
boolean |
isValueInCache(java.lang.Object value) |
boolean |
isWriteLockedByCurrentThread(java.lang.Object key) |
void |
load(java.lang.Object key) |
void |
loadAll(java.util.Collection keys,
java.lang.Object argument) |
void |
put(net.sf.ehcache.Element element) |
void |
put(net.sf.ehcache.Element element,
boolean doNotNotifyCacheReplicators) |
void |
putAll(java.util.Collection<net.sf.ehcache.Element> elements) |
net.sf.ehcache.Element |
putIfAbsent(net.sf.ehcache.Element element) |
net.sf.ehcache.Element |
putIfAbsent(net.sf.ehcache.Element element,
boolean doNotNotifyCacheReplicators) |
void |
putQuiet(net.sf.ehcache.Element element) |
void |
putWithWriter(net.sf.ehcache.Element element) |
void |
registerCacheExtension(net.sf.ehcache.extension.CacheExtension cacheExtension) |
void |
registerCacheLoader(net.sf.ehcache.loader.CacheLoader cacheLoader) |
void |
registerCacheWriter(net.sf.ehcache.writer.CacheWriter cacheWriter) |
void |
registerDynamicAttributesExtractor(net.sf.ehcache.search.attribute.DynamicAttributesExtractor dynamicAttributesExtractor) |
void |
releaseReadLockOnKey(java.lang.Object key) |
void |
releaseWriteLockOnKey(java.lang.Object key) |
boolean |
remove(java.lang.Object key) |
boolean |
remove(java.lang.Object key,
boolean doNotNotifyCacheReplicators) |
boolean |
remove(java.io.Serializable key) |
boolean |
remove(java.io.Serializable key,
boolean doNotNotifyCacheReplicators) |
void |
removeAll() |
void |
removeAll(boolean doNotNotifyCacheReplicators) |
void |
removeAll(java.util.Collection<?> keys) |
void |
removeAll(java.util.Collection<?> keys,
boolean doNotNotifyCacheReplicators) |
boolean |
removeElement(net.sf.ehcache.Element element) |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener propertyChangeListener) |
boolean |
removeQuiet(java.lang.Object key) |
boolean |
removeQuiet(java.io.Serializable key) |
void |
removeReference() |
boolean |
removeWithWriter(java.lang.Object key) |
net.sf.ehcache.Element |
replace(net.sf.ehcache.Element element) |
boolean |
replace(net.sf.ehcache.Element old,
net.sf.ehcache.Element element) |
void |
setBootstrapCacheLoader(net.sf.ehcache.bootstrap.BootstrapCacheLoader bootstrapCacheLoader) |
void |
setCacheExceptionHandler(net.sf.ehcache.exceptionhandler.CacheExceptionHandler cacheExceptionHandler) |
void |
setCacheManager(net.sf.ehcache.CacheManager cacheManager) |
void |
setDisabled(boolean disabled) |
void |
setName(java.lang.String name) |
void |
setNodeBulkLoadEnabled(boolean enabledBulkLoad) |
void |
setNodeCoherent(boolean nodeCoherent)
Deprecated.
As of 6.1.0, replaced by
setNodeBulkLoadEnabled(boolean) |
void |
setTransactionManagerLookup(net.sf.ehcache.transaction.manager.TransactionManagerLookup transactionManagerLookup) |
void |
setWrappedCache(net.sf.ehcache.Ehcache ehcache) |
java.lang.String |
toString() |
boolean |
tryReadLockOnKey(java.lang.Object key,
long timeout) |
boolean |
tryWriteLockOnKey(java.lang.Object key,
long timeout) |
void |
unregisterCacheExtension(net.sf.ehcache.extension.CacheExtension cacheExtension) |
void |
unregisterCacheLoader(net.sf.ehcache.loader.CacheLoader cacheLoader) |
void |
unregisterCacheWriter() |
void |
waitUntilClusterBulkLoadComplete() |
void |
waitUntilClusterCoherent()
Deprecated.
As of 6.1.0, replaced by
waitUntilClusterBulkLoadComplete() |
public ModifiableEhcacheWrapper(net.sf.ehcache.Ehcache ehcache)
public void acquireReadLockOnKey(java.lang.Object key)
acquireReadLockOnKey in interface net.sf.ehcache.Ehcachepublic void acquireWriteLockOnKey(java.lang.Object key)
acquireWriteLockOnKey in interface net.sf.ehcache.Ehcachepublic void addPropertyChangeListener(java.beans.PropertyChangeListener propertyChangeListener)
addPropertyChangeListener in interface net.sf.ehcache.Ehcachepublic void addReference()
public void bootstrap()
bootstrap in interface net.sf.ehcache.Ehcachepublic long calculateInMemorySize()
throws net.sf.ehcache.CacheException,
java.lang.IllegalStateException
calculateInMemorySize in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionjava.lang.IllegalStateExceptionpublic long calculateOffHeapSize()
throws net.sf.ehcache.CacheException,
java.lang.IllegalStateException
calculateOffHeapSize in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionjava.lang.IllegalStateExceptionpublic long calculateOnDiskSize()
throws net.sf.ehcache.CacheException,
java.lang.IllegalStateException
calculateOnDiskSize in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionjava.lang.IllegalStateExceptionpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface net.sf.ehcache.Ehcacheclone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic net.sf.ehcache.search.Query createQuery()
createQuery in interface net.sf.ehcache.Ehcachepublic void disableDynamicFeatures()
disableDynamicFeatures in interface net.sf.ehcache.Ehcachepublic void dispose()
throws java.lang.IllegalStateException
dispose in interface net.sf.ehcache.Ehcachejava.lang.IllegalStateExceptionpublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic void evictExpiredElements()
evictExpiredElements in interface net.sf.ehcache.Ehcachepublic void flush()
throws net.sf.ehcache.CacheException,
java.lang.IllegalStateException
flush in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionjava.lang.IllegalStateExceptionpublic net.sf.ehcache.Element get(java.lang.Object key)
throws net.sf.ehcache.CacheException,
java.lang.IllegalStateException
get in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionjava.lang.IllegalStateExceptionpublic net.sf.ehcache.Element get(java.io.Serializable key)
throws net.sf.ehcache.CacheException,
java.lang.IllegalStateException
get in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionjava.lang.IllegalStateExceptionpublic int getActiveReferenceCount()
public java.util.Map<java.lang.Object,net.sf.ehcache.Element> getAll(java.util.Collection<?> keys)
throws net.sf.ehcache.CacheException,
java.lang.IllegalStateException,
java.lang.NullPointerException
getAll in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionjava.lang.IllegalStateExceptionjava.lang.NullPointerExceptionpublic java.util.Map getAllWithLoader(java.util.Collection keys,
java.lang.Object argument)
throws net.sf.ehcache.CacheException
getAllWithLoader in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionpublic net.sf.ehcache.bootstrap.BootstrapCacheLoader getBootstrapCacheLoader()
getBootstrapCacheLoader in interface net.sf.ehcache.Ehcachepublic net.sf.ehcache.config.CacheConfiguration getCacheConfiguration()
getCacheConfiguration in interface net.sf.ehcache.Ehcachepublic net.sf.ehcache.event.RegisteredEventListeners getCacheEventNotificationService()
getCacheEventNotificationService in interface net.sf.ehcache.Ehcachepublic net.sf.ehcache.exceptionhandler.CacheExceptionHandler getCacheExceptionHandler()
getCacheExceptionHandler in interface net.sf.ehcache.Ehcachepublic net.sf.ehcache.CacheManager getCacheManager()
getCacheManager in interface net.sf.ehcache.Ehcachepublic int getDiskStoreSize()
throws java.lang.IllegalStateException
getDiskStoreSize in interface net.sf.ehcache.Ehcachejava.lang.IllegalStateExceptionpublic java.lang.String getGuid()
getGuid in interface net.sf.ehcache.Ehcachepublic java.lang.Object getInternalContext()
getInternalContext in interface net.sf.ehcache.Ehcachepublic java.util.List getKeys()
throws net.sf.ehcache.CacheException,
java.lang.IllegalStateException
getKeys in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionjava.lang.IllegalStateExceptionpublic java.util.List getKeysNoDuplicateCheck()
throws java.lang.IllegalStateException
getKeysNoDuplicateCheck in interface net.sf.ehcache.Ehcachejava.lang.IllegalStateExceptionpublic java.util.List getKeysWithExpiryCheck()
throws net.sf.ehcache.CacheException,
java.lang.IllegalStateException
getKeysWithExpiryCheck in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionjava.lang.IllegalStateExceptionpublic long getMemoryStoreSize()
throws java.lang.IllegalStateException
getMemoryStoreSize in interface net.sf.ehcache.Ehcachejava.lang.IllegalStateExceptionpublic java.lang.String getName()
getName in interface net.sf.ehcache.Ehcachepublic long getOffHeapStoreSize()
throws java.lang.IllegalStateException
getOffHeapStoreSize in interface net.sf.ehcache.Ehcachejava.lang.IllegalStateExceptionpublic net.sf.ehcache.Element getQuiet(java.lang.Object key)
throws net.sf.ehcache.CacheException,
java.lang.IllegalStateException
getQuiet in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionjava.lang.IllegalStateExceptionpublic net.sf.ehcache.Element getQuiet(java.io.Serializable key)
throws net.sf.ehcache.CacheException,
java.lang.IllegalStateException
getQuiet in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionjava.lang.IllegalStateExceptionpublic java.util.List<net.sf.ehcache.extension.CacheExtension> getRegisteredCacheExtensions()
getRegisteredCacheExtensions in interface net.sf.ehcache.Ehcachepublic java.util.List<net.sf.ehcache.loader.CacheLoader> getRegisteredCacheLoaders()
getRegisteredCacheLoaders in interface net.sf.ehcache.Ehcachepublic net.sf.ehcache.writer.CacheWriter getRegisteredCacheWriter()
getRegisteredCacheWriter in interface net.sf.ehcache.Ehcachepublic <T> net.sf.ehcache.search.Attribute<T> getSearchAttribute(java.lang.String attributeName)
throws net.sf.ehcache.CacheException
getSearchAttribute in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionpublic java.util.Set<net.sf.ehcache.search.Attribute> getSearchAttributes()
throws net.sf.ehcache.CacheException
getSearchAttributes in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionpublic int getSize()
throws net.sf.ehcache.CacheException,
java.lang.IllegalStateException
getSize in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionjava.lang.IllegalStateExceptionpublic net.sf.ehcache.statistics.StatisticsGateway getStatistics()
throws java.lang.IllegalStateException
getStatistics in interface net.sf.ehcache.Ehcachejava.lang.IllegalStateExceptionpublic net.sf.ehcache.Status getStatus()
getStatus in interface net.sf.ehcache.Ehcachepublic net.sf.ehcache.Element getWithLoader(java.lang.Object key,
net.sf.ehcache.loader.CacheLoader cacheLoader,
java.lang.Object argument)
throws net.sf.ehcache.CacheException
getWithLoader in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionpublic net.sf.ehcache.Ehcache getWrappedCache()
public net.sf.ehcache.writer.CacheWriterManager getWriterManager()
getWriterManager in interface net.sf.ehcache.Ehcachepublic boolean hasAbortedSizeOf()
hasAbortedSizeOf in interface net.sf.ehcache.Ehcachepublic int hashCode()
hashCode in class java.lang.Objectpublic void initialise()
initialise in interface net.sf.ehcache.Ehcachepublic boolean isClusterBulkLoadEnabled()
throws net.sf.ehcache.terracotta.TerracottaNotRunningException,
java.lang.UnsupportedOperationException
isClusterBulkLoadEnabled in interface net.sf.ehcache.Ehcachenet.sf.ehcache.terracotta.TerracottaNotRunningExceptionjava.lang.UnsupportedOperationExceptionpublic boolean isClusterCoherent()
throws net.sf.ehcache.terracotta.TerracottaNotRunningException
isClusterBulkLoadEnabled()isClusterCoherent in interface net.sf.ehcache.Ehcachenet.sf.ehcache.terracotta.TerracottaNotRunningExceptionpublic boolean isDisabled()
isDisabled in interface net.sf.ehcache.Ehcachepublic boolean isElementInMemory(java.lang.Object key)
isElementInMemory in interface net.sf.ehcache.Ehcachepublic boolean isElementInMemory(java.io.Serializable key)
isElementInMemory in interface net.sf.ehcache.Ehcachepublic boolean isElementOnDisk(java.lang.Object key)
isElementOnDisk in interface net.sf.ehcache.Ehcachepublic boolean isElementOnDisk(java.io.Serializable key)
isElementOnDisk in interface net.sf.ehcache.Ehcachepublic boolean isExpired(net.sf.ehcache.Element element)
throws java.lang.IllegalStateException,
java.lang.NullPointerException
isExpired in interface net.sf.ehcache.Ehcachejava.lang.IllegalStateExceptionjava.lang.NullPointerExceptionpublic boolean isKeyInCache(java.lang.Object key)
isKeyInCache in interface net.sf.ehcache.Ehcachepublic boolean isNodeBulkLoadEnabled()
throws net.sf.ehcache.terracotta.TerracottaNotRunningException,
java.lang.UnsupportedOperationException
isNodeBulkLoadEnabled in interface net.sf.ehcache.Ehcachenet.sf.ehcache.terracotta.TerracottaNotRunningExceptionjava.lang.UnsupportedOperationExceptionpublic boolean isNodeCoherent()
throws net.sf.ehcache.terracotta.TerracottaNotRunningException
isNodeBulkLoadEnabled()isNodeCoherent in interface net.sf.ehcache.Ehcachenet.sf.ehcache.terracotta.TerracottaNotRunningExceptionpublic boolean isReadLockedByCurrentThread(java.lang.Object key)
throws java.lang.UnsupportedOperationException
isReadLockedByCurrentThread in interface net.sf.ehcache.Ehcachejava.lang.UnsupportedOperationExceptionpublic boolean isSearchable()
isSearchable in interface net.sf.ehcache.Ehcachepublic boolean isValueInCache(java.lang.Object value)
isValueInCache in interface net.sf.ehcache.Ehcachepublic boolean isWriteLockedByCurrentThread(java.lang.Object key)
throws java.lang.UnsupportedOperationException
isWriteLockedByCurrentThread in interface net.sf.ehcache.Ehcachejava.lang.UnsupportedOperationExceptionpublic void load(java.lang.Object key)
throws net.sf.ehcache.CacheException
load in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionpublic void loadAll(java.util.Collection keys,
java.lang.Object argument)
throws net.sf.ehcache.CacheException
loadAll in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionpublic void put(net.sf.ehcache.Element element)
throws net.sf.ehcache.CacheException,
java.lang.IllegalArgumentException,
java.lang.IllegalStateException
put in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionjava.lang.IllegalArgumentExceptionjava.lang.IllegalStateExceptionpublic void put(net.sf.ehcache.Element element,
boolean doNotNotifyCacheReplicators)
throws net.sf.ehcache.CacheException,
java.lang.IllegalArgumentException,
java.lang.IllegalStateException
put in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionjava.lang.IllegalArgumentExceptionjava.lang.IllegalStateExceptionpublic void putAll(java.util.Collection<net.sf.ehcache.Element> elements)
throws net.sf.ehcache.CacheException,
java.lang.IllegalArgumentException,
java.lang.IllegalStateException
putAll in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionjava.lang.IllegalArgumentExceptionjava.lang.IllegalStateExceptionpublic net.sf.ehcache.Element putIfAbsent(net.sf.ehcache.Element element)
throws java.lang.NullPointerException
putIfAbsent in interface net.sf.ehcache.Ehcachejava.lang.NullPointerExceptionpublic net.sf.ehcache.Element putIfAbsent(net.sf.ehcache.Element element,
boolean doNotNotifyCacheReplicators)
throws java.lang.NullPointerException
putIfAbsent in interface net.sf.ehcache.Ehcachejava.lang.NullPointerExceptionpublic void putQuiet(net.sf.ehcache.Element element)
throws net.sf.ehcache.CacheException,
java.lang.IllegalArgumentException,
java.lang.IllegalStateException
putQuiet in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionjava.lang.IllegalArgumentExceptionjava.lang.IllegalStateExceptionpublic void putWithWriter(net.sf.ehcache.Element element)
throws net.sf.ehcache.CacheException,
java.lang.IllegalArgumentException,
java.lang.IllegalStateException
putWithWriter in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionjava.lang.IllegalArgumentExceptionjava.lang.IllegalStateExceptionpublic void registerCacheExtension(net.sf.ehcache.extension.CacheExtension cacheExtension)
registerCacheExtension in interface net.sf.ehcache.Ehcachepublic void registerCacheLoader(net.sf.ehcache.loader.CacheLoader cacheLoader)
registerCacheLoader in interface net.sf.ehcache.Ehcachepublic void registerCacheWriter(net.sf.ehcache.writer.CacheWriter cacheWriter)
registerCacheWriter in interface net.sf.ehcache.Ehcachepublic void registerDynamicAttributesExtractor(net.sf.ehcache.search.attribute.DynamicAttributesExtractor dynamicAttributesExtractor)
registerDynamicAttributesExtractor in interface net.sf.ehcache.Ehcachepublic void releaseReadLockOnKey(java.lang.Object key)
releaseReadLockOnKey in interface net.sf.ehcache.Ehcachepublic void releaseWriteLockOnKey(java.lang.Object key)
releaseWriteLockOnKey in interface net.sf.ehcache.Ehcachepublic boolean remove(java.lang.Object key)
throws java.lang.IllegalStateException
remove in interface net.sf.ehcache.Ehcachejava.lang.IllegalStateExceptionpublic boolean remove(java.lang.Object key,
boolean doNotNotifyCacheReplicators)
throws java.lang.IllegalStateException
remove in interface net.sf.ehcache.Ehcachejava.lang.IllegalStateExceptionpublic boolean remove(java.io.Serializable key)
throws java.lang.IllegalStateException
remove in interface net.sf.ehcache.Ehcachejava.lang.IllegalStateExceptionpublic boolean remove(java.io.Serializable key,
boolean doNotNotifyCacheReplicators)
throws java.lang.IllegalStateException
remove in interface net.sf.ehcache.Ehcachejava.lang.IllegalStateExceptionpublic void removeAll()
throws net.sf.ehcache.CacheException,
java.lang.IllegalStateException
removeAll in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionjava.lang.IllegalStateExceptionpublic void removeAll(boolean doNotNotifyCacheReplicators)
throws net.sf.ehcache.CacheException,
java.lang.IllegalStateException
removeAll in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionjava.lang.IllegalStateExceptionpublic void removeAll(java.util.Collection<?> keys)
throws java.lang.IllegalStateException,
java.lang.NullPointerException
removeAll in interface net.sf.ehcache.Ehcachejava.lang.IllegalStateExceptionjava.lang.NullPointerExceptionpublic void removeAll(java.util.Collection<?> keys,
boolean doNotNotifyCacheReplicators)
throws java.lang.IllegalStateException,
java.lang.NullPointerException
removeAll in interface net.sf.ehcache.Ehcachejava.lang.IllegalStateExceptionjava.lang.NullPointerExceptionpublic boolean removeElement(net.sf.ehcache.Element element)
throws java.lang.NullPointerException
removeElement in interface net.sf.ehcache.Ehcachejava.lang.NullPointerExceptionpublic void removePropertyChangeListener(java.beans.PropertyChangeListener propertyChangeListener)
removePropertyChangeListener in interface net.sf.ehcache.Ehcachepublic boolean removeQuiet(java.lang.Object key)
throws java.lang.IllegalStateException
removeQuiet in interface net.sf.ehcache.Ehcachejava.lang.IllegalStateExceptionpublic boolean removeQuiet(java.io.Serializable key)
throws java.lang.IllegalStateException
removeQuiet in interface net.sf.ehcache.Ehcachejava.lang.IllegalStateExceptionpublic void removeReference()
public boolean removeWithWriter(java.lang.Object key)
throws net.sf.ehcache.CacheException,
java.lang.IllegalStateException
removeWithWriter in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionjava.lang.IllegalStateExceptionpublic net.sf.ehcache.Element replace(net.sf.ehcache.Element element)
throws java.lang.NullPointerException
replace in interface net.sf.ehcache.Ehcachejava.lang.NullPointerExceptionpublic boolean replace(net.sf.ehcache.Element old,
net.sf.ehcache.Element element)
throws java.lang.IllegalArgumentException,
java.lang.NullPointerException
replace in interface net.sf.ehcache.Ehcachejava.lang.IllegalArgumentExceptionjava.lang.NullPointerExceptionpublic void setBootstrapCacheLoader(net.sf.ehcache.bootstrap.BootstrapCacheLoader bootstrapCacheLoader)
throws net.sf.ehcache.CacheException
setBootstrapCacheLoader in interface net.sf.ehcache.Ehcachenet.sf.ehcache.CacheExceptionpublic void setCacheExceptionHandler(net.sf.ehcache.exceptionhandler.CacheExceptionHandler cacheExceptionHandler)
setCacheExceptionHandler in interface net.sf.ehcache.Ehcachepublic void setCacheManager(net.sf.ehcache.CacheManager cacheManager)
setCacheManager in interface net.sf.ehcache.Ehcachepublic void setDisabled(boolean disabled)
setDisabled in interface net.sf.ehcache.Ehcachepublic void setName(java.lang.String name)
setName in interface net.sf.ehcache.Ehcachepublic void setNodeBulkLoadEnabled(boolean enabledBulkLoad)
throws net.sf.ehcache.terracotta.TerracottaNotRunningException,
java.lang.UnsupportedOperationException
setNodeBulkLoadEnabled in interface net.sf.ehcache.Ehcachenet.sf.ehcache.terracotta.TerracottaNotRunningExceptionjava.lang.UnsupportedOperationExceptionpublic void setNodeCoherent(boolean nodeCoherent)
throws net.sf.ehcache.terracotta.TerracottaNotRunningException,
java.lang.UnsupportedOperationException
setNodeBulkLoadEnabled(boolean)setNodeCoherent in interface net.sf.ehcache.Ehcachenet.sf.ehcache.terracotta.TerracottaNotRunningExceptionjava.lang.UnsupportedOperationExceptionpublic void setTransactionManagerLookup(net.sf.ehcache.transaction.manager.TransactionManagerLookup transactionManagerLookup)
setTransactionManagerLookup in interface net.sf.ehcache.Ehcachepublic void setWrappedCache(net.sf.ehcache.Ehcache ehcache)
public java.lang.String toString()
toString in interface net.sf.ehcache.EhcachetoString in class java.lang.Objectpublic boolean tryReadLockOnKey(java.lang.Object key,
long timeout)
throws java.lang.InterruptedException
tryReadLockOnKey in interface net.sf.ehcache.Ehcachejava.lang.InterruptedExceptionpublic boolean tryWriteLockOnKey(java.lang.Object key,
long timeout)
throws java.lang.InterruptedException
tryWriteLockOnKey in interface net.sf.ehcache.Ehcachejava.lang.InterruptedExceptionpublic void unregisterCacheExtension(net.sf.ehcache.extension.CacheExtension cacheExtension)
unregisterCacheExtension in interface net.sf.ehcache.Ehcachepublic void unregisterCacheLoader(net.sf.ehcache.loader.CacheLoader cacheLoader)
unregisterCacheLoader in interface net.sf.ehcache.Ehcachepublic void unregisterCacheWriter()
unregisterCacheWriter in interface net.sf.ehcache.Ehcachepublic void waitUntilClusterBulkLoadComplete()
throws net.sf.ehcache.terracotta.TerracottaNotRunningException,
java.lang.UnsupportedOperationException
waitUntilClusterBulkLoadComplete in interface net.sf.ehcache.Ehcachenet.sf.ehcache.terracotta.TerracottaNotRunningExceptionjava.lang.UnsupportedOperationExceptionpublic void waitUntilClusterCoherent()
throws net.sf.ehcache.terracotta.TerracottaNotRunningException,
java.lang.UnsupportedOperationException
waitUntilClusterBulkLoadComplete()waitUntilClusterCoherent in interface net.sf.ehcache.Ehcachenet.sf.ehcache.terracotta.TerracottaNotRunningExceptionjava.lang.UnsupportedOperationExceptionprotected boolean isStatusAlive()