|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.cache.ehcache.ModifiableEhcacheWrapper
public class ModifiableEhcacheWrapper
Constructor Summary | |
---|---|
ModifiableEhcacheWrapper(net.sf.ehcache.Ehcache ehcache)
|
Method Summary | ||
---|---|---|
void |
acquireReadLockOnKey(Object key)
|
|
void |
acquireWriteLockOnKey(Object key)
|
|
void |
addPropertyChangeListener(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 |
|
Object |
clone()
|
|
net.sf.ehcache.search.Query |
createQuery()
|
|
void |
disableDynamicFeatures()
|
|
void |
dispose()
|
|
boolean |
equals(Object object)
|
|
void |
evictExpiredElements()
|
|
void |
flush()
|
|
net.sf.ehcache.Element |
get(Object key)
|
|
net.sf.ehcache.Element |
get(Serializable key)
|
|
int |
getActiveReferenceCount()
|
|
Map<Object,net.sf.ehcache.Element> |
getAll(Collection<?> keys)
|
|
Map |
getAllWithLoader(Collection keys,
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 |
|
String |
getGuid()
|
|
Object |
getInternalContext()
|
|
List |
getKeys()
|
|
List |
getKeysNoDuplicateCheck()
Deprecated. As of 6.2.0 |
|
List |
getKeysWithExpiryCheck()
|
|
long |
getMemoryStoreSize()
Deprecated. As of 6.2.0 |
|
String |
getName()
|
|
long |
getOffHeapStoreSize()
Deprecated. As of 6.2.0 |
|
net.sf.ehcache.Element |
getQuiet(Object key)
|
|
net.sf.ehcache.Element |
getQuiet(Serializable key)
|
|
List<net.sf.ehcache.extension.CacheExtension> |
getRegisteredCacheExtensions()
|
|
List<net.sf.ehcache.loader.CacheLoader> |
getRegisteredCacheLoaders()
|
|
net.sf.ehcache.writer.CacheWriter |
getRegisteredCacheWriter()
|
|
|
getSearchAttribute(String attributeName)
|
|
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(Object key,
net.sf.ehcache.loader.CacheLoader cacheLoader,
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(Object key)
|
|
boolean |
isElementInMemory(Serializable key)
|
|
boolean |
isElementOnDisk(Object key)
|
|
boolean |
isElementOnDisk(Serializable key)
|
|
boolean |
isExpired(net.sf.ehcache.Element element)
|
|
boolean |
isKeyInCache(Object key)
|
|
boolean |
isNodeBulkLoadEnabled()
|
|
boolean |
isNodeCoherent()
Deprecated. As of 6.1.0, replaced by isNodeBulkLoadEnabled() |
|
boolean |
isReadLockedByCurrentThread(Object key)
|
|
boolean |
isSearchable()
|
|
protected boolean |
isStatusAlive()
|
|
boolean |
isValueInCache(Object value)
|
|
boolean |
isWriteLockedByCurrentThread(Object key)
|
|
void |
load(Object key)
|
|
void |
loadAll(Collection keys,
Object argument)
|
|
void |
put(net.sf.ehcache.Element element)
|
|
void |
put(net.sf.ehcache.Element element,
boolean doNotNotifyCacheReplicators)
|
|
void |
putAll(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(Object key)
|
|
void |
releaseWriteLockOnKey(Object key)
|
|
boolean |
remove(Object key)
|
|
boolean |
remove(Object key,
boolean doNotNotifyCacheReplicators)
|
|
boolean |
remove(Serializable key)
|
|
boolean |
remove(Serializable key,
boolean doNotNotifyCacheReplicators)
|
|
void |
removeAll()
|
|
void |
removeAll(boolean doNotNotifyCacheReplicators)
|
|
void |
removeAll(Collection<?> keys)
|
|
void |
removeAll(Collection<?> keys,
boolean doNotNotifyCacheReplicators)
|
|
boolean |
removeElement(net.sf.ehcache.Element element)
|
|
void |
removePropertyChangeListener(PropertyChangeListener propertyChangeListener)
|
|
boolean |
removeQuiet(Object key)
|
|
boolean |
removeQuiet(Serializable key)
|
|
void |
removeReference()
|
|
boolean |
removeWithWriter(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(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)
|
|
String |
toString()
|
|
boolean |
tryReadLockOnKey(Object key,
long timeout)
|
|
boolean |
tryWriteLockOnKey(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() |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ModifiableEhcacheWrapper(net.sf.ehcache.Ehcache ehcache)
Method Detail |
---|
public void acquireReadLockOnKey(Object key)
acquireReadLockOnKey
in interface net.sf.ehcache.Ehcache
public void acquireWriteLockOnKey(Object key)
acquireWriteLockOnKey
in interface net.sf.ehcache.Ehcache
public void addPropertyChangeListener(PropertyChangeListener propertyChangeListener)
addPropertyChangeListener
in interface net.sf.ehcache.Ehcache
public void addReference()
public void bootstrap()
bootstrap
in interface net.sf.ehcache.Ehcache
public long calculateInMemorySize() throws net.sf.ehcache.CacheException, IllegalStateException
calculateInMemorySize
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
IllegalStateException
public long calculateOffHeapSize() throws net.sf.ehcache.CacheException, IllegalStateException
calculateOffHeapSize
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
IllegalStateException
public long calculateOnDiskSize() throws net.sf.ehcache.CacheException, IllegalStateException
calculateOnDiskSize
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
IllegalStateException
public Object clone() throws CloneNotSupportedException
clone
in interface net.sf.ehcache.Ehcache
clone
in class Object
CloneNotSupportedException
public net.sf.ehcache.search.Query createQuery()
createQuery
in interface net.sf.ehcache.Ehcache
public void disableDynamicFeatures()
disableDynamicFeatures
in interface net.sf.ehcache.Ehcache
public void dispose() throws IllegalStateException
dispose
in interface net.sf.ehcache.Ehcache
IllegalStateException
public boolean equals(Object object)
equals
in class Object
public void evictExpiredElements()
evictExpiredElements
in interface net.sf.ehcache.Ehcache
public void flush() throws net.sf.ehcache.CacheException, IllegalStateException
flush
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
IllegalStateException
public net.sf.ehcache.Element get(Object key) throws net.sf.ehcache.CacheException, IllegalStateException
get
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
IllegalStateException
public net.sf.ehcache.Element get(Serializable key) throws net.sf.ehcache.CacheException, IllegalStateException
get
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
IllegalStateException
public int getActiveReferenceCount()
public Map<Object,net.sf.ehcache.Element> getAll(Collection<?> keys) throws net.sf.ehcache.CacheException, IllegalStateException, NullPointerException
getAll
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
IllegalStateException
NullPointerException
public Map getAllWithLoader(Collection keys, Object argument) throws net.sf.ehcache.CacheException
getAllWithLoader
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
public net.sf.ehcache.bootstrap.BootstrapCacheLoader getBootstrapCacheLoader()
getBootstrapCacheLoader
in interface net.sf.ehcache.Ehcache
public net.sf.ehcache.config.CacheConfiguration getCacheConfiguration()
getCacheConfiguration
in interface net.sf.ehcache.Ehcache
public net.sf.ehcache.event.RegisteredEventListeners getCacheEventNotificationService()
getCacheEventNotificationService
in interface net.sf.ehcache.Ehcache
public net.sf.ehcache.exceptionhandler.CacheExceptionHandler getCacheExceptionHandler()
getCacheExceptionHandler
in interface net.sf.ehcache.Ehcache
public net.sf.ehcache.CacheManager getCacheManager()
getCacheManager
in interface net.sf.ehcache.Ehcache
public int getDiskStoreSize() throws IllegalStateException
getDiskStoreSize
in interface net.sf.ehcache.Ehcache
IllegalStateException
public String getGuid()
getGuid
in interface net.sf.ehcache.Ehcache
public Object getInternalContext()
getInternalContext
in interface net.sf.ehcache.Ehcache
public List getKeys() throws net.sf.ehcache.CacheException, IllegalStateException
getKeys
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
IllegalStateException
public List getKeysNoDuplicateCheck() throws IllegalStateException
getKeysNoDuplicateCheck
in interface net.sf.ehcache.Ehcache
IllegalStateException
public List getKeysWithExpiryCheck() throws net.sf.ehcache.CacheException, IllegalStateException
getKeysWithExpiryCheck
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
IllegalStateException
public long getMemoryStoreSize() throws IllegalStateException
getMemoryStoreSize
in interface net.sf.ehcache.Ehcache
IllegalStateException
public String getName()
getName
in interface net.sf.ehcache.Ehcache
public long getOffHeapStoreSize() throws IllegalStateException
getOffHeapStoreSize
in interface net.sf.ehcache.Ehcache
IllegalStateException
public net.sf.ehcache.Element getQuiet(Object key) throws net.sf.ehcache.CacheException, IllegalStateException
getQuiet
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
IllegalStateException
public net.sf.ehcache.Element getQuiet(Serializable key) throws net.sf.ehcache.CacheException, IllegalStateException
getQuiet
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
IllegalStateException
public List<net.sf.ehcache.extension.CacheExtension> getRegisteredCacheExtensions()
getRegisteredCacheExtensions
in interface net.sf.ehcache.Ehcache
public List<net.sf.ehcache.loader.CacheLoader> getRegisteredCacheLoaders()
getRegisteredCacheLoaders
in interface net.sf.ehcache.Ehcache
public net.sf.ehcache.writer.CacheWriter getRegisteredCacheWriter()
getRegisteredCacheWriter
in interface net.sf.ehcache.Ehcache
public <T> net.sf.ehcache.search.Attribute<T> getSearchAttribute(String attributeName) throws net.sf.ehcache.CacheException
getSearchAttribute
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
public Set<net.sf.ehcache.search.Attribute> getSearchAttributes() throws net.sf.ehcache.CacheException
getSearchAttributes
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
public int getSize() throws net.sf.ehcache.CacheException, IllegalStateException
getSize
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
IllegalStateException
public net.sf.ehcache.statistics.StatisticsGateway getStatistics() throws IllegalStateException
getStatistics
in interface net.sf.ehcache.Ehcache
IllegalStateException
public net.sf.ehcache.Status getStatus()
getStatus
in interface net.sf.ehcache.Ehcache
public net.sf.ehcache.Element getWithLoader(Object key, net.sf.ehcache.loader.CacheLoader cacheLoader, Object argument) throws net.sf.ehcache.CacheException
getWithLoader
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
public net.sf.ehcache.Ehcache getWrappedCache()
public net.sf.ehcache.writer.CacheWriterManager getWriterManager()
getWriterManager
in interface net.sf.ehcache.Ehcache
public boolean hasAbortedSizeOf()
hasAbortedSizeOf
in interface net.sf.ehcache.Ehcache
public int hashCode()
hashCode
in class Object
public void initialise()
initialise
in interface net.sf.ehcache.Ehcache
public boolean isClusterBulkLoadEnabled() throws net.sf.ehcache.terracotta.TerracottaNotRunningException, UnsupportedOperationException
isClusterBulkLoadEnabled
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.terracotta.TerracottaNotRunningException
UnsupportedOperationException
public boolean isClusterCoherent() throws net.sf.ehcache.terracotta.TerracottaNotRunningException
isClusterBulkLoadEnabled()
isClusterCoherent
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.terracotta.TerracottaNotRunningException
public boolean isDisabled()
isDisabled
in interface net.sf.ehcache.Ehcache
public boolean isElementInMemory(Object key)
isElementInMemory
in interface net.sf.ehcache.Ehcache
public boolean isElementInMemory(Serializable key)
isElementInMemory
in interface net.sf.ehcache.Ehcache
public boolean isElementOnDisk(Object key)
isElementOnDisk
in interface net.sf.ehcache.Ehcache
public boolean isElementOnDisk(Serializable key)
isElementOnDisk
in interface net.sf.ehcache.Ehcache
public boolean isExpired(net.sf.ehcache.Element element) throws IllegalStateException, NullPointerException
isExpired
in interface net.sf.ehcache.Ehcache
IllegalStateException
NullPointerException
public boolean isKeyInCache(Object key)
isKeyInCache
in interface net.sf.ehcache.Ehcache
public boolean isNodeBulkLoadEnabled() throws net.sf.ehcache.terracotta.TerracottaNotRunningException, UnsupportedOperationException
isNodeBulkLoadEnabled
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.terracotta.TerracottaNotRunningException
UnsupportedOperationException
public boolean isNodeCoherent() throws net.sf.ehcache.terracotta.TerracottaNotRunningException
isNodeBulkLoadEnabled()
isNodeCoherent
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.terracotta.TerracottaNotRunningException
public boolean isReadLockedByCurrentThread(Object key) throws UnsupportedOperationException
isReadLockedByCurrentThread
in interface net.sf.ehcache.Ehcache
UnsupportedOperationException
public boolean isSearchable()
isSearchable
in interface net.sf.ehcache.Ehcache
public boolean isValueInCache(Object value)
isValueInCache
in interface net.sf.ehcache.Ehcache
public boolean isWriteLockedByCurrentThread(Object key) throws UnsupportedOperationException
isWriteLockedByCurrentThread
in interface net.sf.ehcache.Ehcache
UnsupportedOperationException
public void load(Object key) throws net.sf.ehcache.CacheException
load
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
public void loadAll(Collection keys, Object argument) throws net.sf.ehcache.CacheException
loadAll
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
public void put(net.sf.ehcache.Element element) throws net.sf.ehcache.CacheException, IllegalArgumentException, IllegalStateException
put
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
IllegalArgumentException
IllegalStateException
public void put(net.sf.ehcache.Element element, boolean doNotNotifyCacheReplicators) throws net.sf.ehcache.CacheException, IllegalArgumentException, IllegalStateException
put
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
IllegalArgumentException
IllegalStateException
public void putAll(Collection<net.sf.ehcache.Element> elements) throws net.sf.ehcache.CacheException, IllegalArgumentException, IllegalStateException
putAll
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
IllegalArgumentException
IllegalStateException
public net.sf.ehcache.Element putIfAbsent(net.sf.ehcache.Element element) throws NullPointerException
putIfAbsent
in interface net.sf.ehcache.Ehcache
NullPointerException
public net.sf.ehcache.Element putIfAbsent(net.sf.ehcache.Element element, boolean doNotNotifyCacheReplicators) throws NullPointerException
putIfAbsent
in interface net.sf.ehcache.Ehcache
NullPointerException
public void putQuiet(net.sf.ehcache.Element element) throws net.sf.ehcache.CacheException, IllegalArgumentException, IllegalStateException
putQuiet
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
IllegalArgumentException
IllegalStateException
public void putWithWriter(net.sf.ehcache.Element element) throws net.sf.ehcache.CacheException, IllegalArgumentException, IllegalStateException
putWithWriter
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
IllegalArgumentException
IllegalStateException
public void registerCacheExtension(net.sf.ehcache.extension.CacheExtension cacheExtension)
registerCacheExtension
in interface net.sf.ehcache.Ehcache
public void registerCacheLoader(net.sf.ehcache.loader.CacheLoader cacheLoader)
registerCacheLoader
in interface net.sf.ehcache.Ehcache
public void registerCacheWriter(net.sf.ehcache.writer.CacheWriter cacheWriter)
registerCacheWriter
in interface net.sf.ehcache.Ehcache
public void registerDynamicAttributesExtractor(net.sf.ehcache.search.attribute.DynamicAttributesExtractor dynamicAttributesExtractor)
registerDynamicAttributesExtractor
in interface net.sf.ehcache.Ehcache
public void releaseReadLockOnKey(Object key)
releaseReadLockOnKey
in interface net.sf.ehcache.Ehcache
public void releaseWriteLockOnKey(Object key)
releaseWriteLockOnKey
in interface net.sf.ehcache.Ehcache
public boolean remove(Object key) throws IllegalStateException
remove
in interface net.sf.ehcache.Ehcache
IllegalStateException
public boolean remove(Object key, boolean doNotNotifyCacheReplicators) throws IllegalStateException
remove
in interface net.sf.ehcache.Ehcache
IllegalStateException
public boolean remove(Serializable key) throws IllegalStateException
remove
in interface net.sf.ehcache.Ehcache
IllegalStateException
public boolean remove(Serializable key, boolean doNotNotifyCacheReplicators) throws IllegalStateException
remove
in interface net.sf.ehcache.Ehcache
IllegalStateException
public void removeAll() throws net.sf.ehcache.CacheException, IllegalStateException
removeAll
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
IllegalStateException
public void removeAll(boolean doNotNotifyCacheReplicators) throws net.sf.ehcache.CacheException, IllegalStateException
removeAll
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
IllegalStateException
public void removeAll(Collection<?> keys) throws IllegalStateException, NullPointerException
removeAll
in interface net.sf.ehcache.Ehcache
IllegalStateException
NullPointerException
public void removeAll(Collection<?> keys, boolean doNotNotifyCacheReplicators) throws IllegalStateException, NullPointerException
removeAll
in interface net.sf.ehcache.Ehcache
IllegalStateException
NullPointerException
public boolean removeElement(net.sf.ehcache.Element element) throws NullPointerException
removeElement
in interface net.sf.ehcache.Ehcache
NullPointerException
public void removePropertyChangeListener(PropertyChangeListener propertyChangeListener)
removePropertyChangeListener
in interface net.sf.ehcache.Ehcache
public boolean removeQuiet(Object key) throws IllegalStateException
removeQuiet
in interface net.sf.ehcache.Ehcache
IllegalStateException
public boolean removeQuiet(Serializable key) throws IllegalStateException
removeQuiet
in interface net.sf.ehcache.Ehcache
IllegalStateException
public void removeReference()
public boolean removeWithWriter(Object key) throws net.sf.ehcache.CacheException, IllegalStateException
removeWithWriter
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
IllegalStateException
public net.sf.ehcache.Element replace(net.sf.ehcache.Element element) throws NullPointerException
replace
in interface net.sf.ehcache.Ehcache
NullPointerException
public boolean replace(net.sf.ehcache.Element old, net.sf.ehcache.Element element) throws IllegalArgumentException, NullPointerException
replace
in interface net.sf.ehcache.Ehcache
IllegalArgumentException
NullPointerException
public void setBootstrapCacheLoader(net.sf.ehcache.bootstrap.BootstrapCacheLoader bootstrapCacheLoader) throws net.sf.ehcache.CacheException
setBootstrapCacheLoader
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.CacheException
public void setCacheExceptionHandler(net.sf.ehcache.exceptionhandler.CacheExceptionHandler cacheExceptionHandler)
setCacheExceptionHandler
in interface net.sf.ehcache.Ehcache
public void setCacheManager(net.sf.ehcache.CacheManager cacheManager)
setCacheManager
in interface net.sf.ehcache.Ehcache
public void setDisabled(boolean disabled)
setDisabled
in interface net.sf.ehcache.Ehcache
public void setName(String name)
setName
in interface net.sf.ehcache.Ehcache
public void setNodeBulkLoadEnabled(boolean enabledBulkLoad) throws net.sf.ehcache.terracotta.TerracottaNotRunningException, UnsupportedOperationException
setNodeBulkLoadEnabled
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.terracotta.TerracottaNotRunningException
UnsupportedOperationException
public void setNodeCoherent(boolean nodeCoherent) throws net.sf.ehcache.terracotta.TerracottaNotRunningException, UnsupportedOperationException
setNodeBulkLoadEnabled(boolean)
setNodeCoherent
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.terracotta.TerracottaNotRunningException
UnsupportedOperationException
public void setTransactionManagerLookup(net.sf.ehcache.transaction.manager.TransactionManagerLookup transactionManagerLookup)
setTransactionManagerLookup
in interface net.sf.ehcache.Ehcache
public void setWrappedCache(net.sf.ehcache.Ehcache ehcache)
public String toString()
toString
in interface net.sf.ehcache.Ehcache
toString
in class Object
public boolean tryReadLockOnKey(Object key, long timeout) throws InterruptedException
tryReadLockOnKey
in interface net.sf.ehcache.Ehcache
InterruptedException
public boolean tryWriteLockOnKey(Object key, long timeout) throws InterruptedException
tryWriteLockOnKey
in interface net.sf.ehcache.Ehcache
InterruptedException
public void unregisterCacheExtension(net.sf.ehcache.extension.CacheExtension cacheExtension)
unregisterCacheExtension
in interface net.sf.ehcache.Ehcache
public void unregisterCacheLoader(net.sf.ehcache.loader.CacheLoader cacheLoader)
unregisterCacheLoader
in interface net.sf.ehcache.Ehcache
public void unregisterCacheWriter()
unregisterCacheWriter
in interface net.sf.ehcache.Ehcache
public void waitUntilClusterBulkLoadComplete() throws net.sf.ehcache.terracotta.TerracottaNotRunningException, UnsupportedOperationException
waitUntilClusterBulkLoadComplete
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.terracotta.TerracottaNotRunningException
UnsupportedOperationException
public void waitUntilClusterCoherent() throws net.sf.ehcache.terracotta.TerracottaNotRunningException, UnsupportedOperationException
waitUntilClusterBulkLoadComplete()
waitUntilClusterCoherent
in interface net.sf.ehcache.Ehcache
net.sf.ehcache.terracotta.TerracottaNotRunningException
UnsupportedOperationException
protected boolean isStatusAlive()
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |