|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.StandardMBean
net.sf.ehcache.hibernate.management.impl.BaseEmitterBean
net.sf.ehcache.management.sampled.SampledCache
public class SampledCache
An implementation of SampledCacheMBean
Field Summary |
---|
Fields inherited from class net.sf.ehcache.hibernate.management.impl.BaseEmitterBean |
---|
emitter, sequenceNumber |
Fields inherited from interface net.sf.ehcache.management.sampled.SampledCacheMBean |
---|
CACHE_CHANGED, CACHE_CLEARED, CACHE_ENABLED, CACHE_FLUSHED, CACHE_STATISTICS_ENABLED, CACHE_STATISTICS_RESET |
Constructor Summary | |
---|---|
SampledCache(Ehcache cache)
Constructor accepting the backing Ehcache |
Method Summary | |
---|---|
void |
clearStatistics()
Clear both sampled and cumulative statistics |
void |
deregistered(CacheConfiguration config)
Indicates that this listener was removed from the given configuration |
void |
disableSampledStatistics()
Disables statistics collection |
void |
disableStatistics()
Disables statistics collection. |
void |
diskCapacityChanged(int oldCapacity,
int newCapacity)
Indicates a change in the configurations disk store capacity |
protected void |
doDispose()
Dispose callback of subclasses |
void |
enableSampledStatistics()
Enables statistics collection. |
void |
enableStatistics()
Enables statistics collection |
void |
flush()
Flushes all cache items from memory to the disk store, and from the DiskStore to disk. |
float |
getAverageGetTimeMillis()
Average time in milli seconds taken to get an element from the cache. |
long |
getAverageGetTimeMostRecentSample()
Get most recent value for average time taken for get() operation in the cache |
long |
getAverageSearchTime()
Get the average search execution time for searches finishing within the last sample period |
Map<String,Object> |
getCacheAttributes()
getCacheAttributes |
long |
getCacheElementEvictedMostRecentSample()
Get most recent value element evicted from cache |
long |
getCacheElementExpiredMostRecentSample()
Get most recent value element expired from cache |
long |
getCacheElementPutMostRecentSample()
Get most recent value element puts in the cache |
long |
getCacheElementRemovedMostRecentSample()
Get most recent value element removed from cache |
long |
getCacheElementUpdatedMostRecentSample()
Get most recent value element updates , i.e. |
long |
getCacheHitCount()
The number of times a requested item was found in the cache. |
long |
getCacheHitInMemoryMostRecentSample()
Get most recent value for in-memory cache hit |
long |
getCacheHitMostRecentSample()
Get most recent value for cache hit |
long |
getCacheHitOffHeapMostRecentSample()
Get most recent value for off-heap cache hit |
long |
getCacheHitOnDiskMostRecentSample()
Get most recent value for on-disk cache hit |
long |
getCacheMissCount()
|
long |
getCacheMissCountExpired()
|
long |
getCacheMissExpiredMostRecentSample()
Get most recent value for cache miss as result of the element getting expired |
long |
getCacheMissInMemoryMostRecentSample()
Get most recent value for in-memory cache miss |
long |
getCacheMissMostRecentSample()
Get most recent value for cache miss |
long |
getCacheMissNotFoundMostRecentSample()
Get most recent value for cache miss as result of the element not found in cache |
long |
getCacheMissOffHeapMostRecentSample()
Get most recent value for off-heap cache miss |
long |
getCacheMissOnDiskMostRecentSample()
Get most recent value for on-disk cache miss |
String |
getCacheName()
|
long |
getCacheXaCommitsMostRecentSample()
Get most recent value of XA commits |
long |
getCacheXaRollbacksMostRecentSample()
Get most recent value of XA rollbacks |
long |
getConfigDiskExpiryThreadIntervalSeconds()
Configuration property accessor |
int |
getConfigMaxElementsInMemory()
Configuration property accessor |
int |
getConfigMaxElementsOnDisk()
Configuration property accessor |
String |
getConfigMemoryStoreEvictionPolicy()
Configuration property accessor |
long |
getConfigTimeToIdleSeconds()
Configuration property accessor |
long |
getConfigTimeToLiveSeconds()
Configuration property accessor |
long |
getEvictedCount()
Number of elements evicted from the cache |
long |
getExpiredCount()
Number of elements expired since creation or last clear |
boolean |
getHasWriteBehindWriter()
Is there a registered Write-behind CacheWriter |
long |
getInMemoryHitCount()
Number of times a requested item was found in the Memory Store. |
long |
getInMemoryMissCount()
Number of times a requested item was not found in the Memory Store. |
long |
getInMemorySize()
Number of elements in the MemoryStore |
long |
getMaxGetTimeMillis()
Return maximum time taken for a get operation in the cache in milliseconds |
long |
getMinGetTimeMillis()
Return minimum time taken for a get operation in the cache in milliseconds |
MBeanNotificationInfo[] |
getNotificationInfo()
|
long |
getOffHeapHitCount()
Number of times a requested item was found in the off-heap store. |
long |
getOffHeapMissCount()
Number of times a requested item was not found in the off-heap store. |
long |
getOffHeapSize()
Number of elements in the off-heap store |
long |
getOnDiskHitCount()
Number of times a requested item was found in the Disk Store. |
long |
getOnDiskMissCount()
Number of times a requested item was not found in the Disk Store. |
long |
getOnDiskSize()
Number of elements in the DiskStore |
long |
getPutCount()
Number of puts that has happened in the cache |
long |
getRemovedCount()
Number of elements removed since creation or last clear |
boolean |
getSearchable()
Is the cache configured for search |
long |
getSearchesPerSecond()
Get the number of searches that have finished execution in the last second |
long |
getSize()
Size of the cache based on current accuracy settings. |
int |
getStatisticsAccuracy()
Accurately measuring statistics can be expensive. |
String |
getStatisticsAccuracyDescription()
Accurately measuring statistics can be expensive. |
String |
getStatus()
Gets the status attribute of the Cache. |
String |
getTerracottaConsistency()
Returns a textual description of a Terracotta-clustered cache's consistency mode. |
String |
getTerracottaStorageStrategy()
Returns a textual description of a Terracotta-clustered cache's storage-strategy. |
boolean |
getTransactional()
Is the cache a transactional one |
long |
getUpdateCount()
Number of updates that as happened in the cache |
int |
getWriterConcurrency()
Returns the number of configured write-behind queues/threads. |
int |
getWriterMaxQueueSize()
Returns the maximum size of any write-behind queues. |
long |
getWriterQueueLength()
Gets the size of the write-behind queue, if any. |
long |
getXaCommitCount()
Return the Cache's XAResource commit calls count |
long |
getXaRollbackCount()
Return the Cache's XAResource rollback calls count |
boolean |
isClusterBulkLoadEnabled()
Is the cache in bulk-load mode cluster-wide? |
boolean |
isClusterCoherent()
Deprecated. use isClusterBulkLoadEnabled() instead |
boolean |
isConfigDiskPersistent()
Configuration property accessor |
boolean |
isConfigEternal()
Configuration property accessor |
boolean |
isConfigLoggingEnabled()
Configuration property accessor |
boolean |
isConfigOverflowToDisk()
Configuration property accessor |
boolean |
isEnabled()
Is the cache enabled? |
boolean |
isNodeBulkLoadEnabled()
Is the cache in bulk-load mode locally? |
boolean |
isNodeCoherent()
Deprecated. use isNodeBulkLoadEnabled() instead |
boolean |
isSampledStatisticsEnabled()
Returns true if statistics collection is enabled for cache, otherwise false |
boolean |
isStatisticsEnabled()
Returns true if statistics is enabled |
boolean |
isTerracottaClustered()
Is the cache configured with Terracotta clustering? |
void |
loggingChanged(boolean oldValue,
boolean newValue)
Indicates a change in the configuration for enable/disable logging |
void |
memoryCapacityChanged(int oldCapacity,
int newCapacity)
Indicates a change in the configurations memory store capacity |
void |
propertyChange(PropertyChangeEvent evt)
|
void |
registered(CacheConfiguration config)
Indicates that this listener was registered with the given configuration |
void |
removeAll()
Removes all cached items. |
void |
setConfigDiskExpiryThreadIntervalSeconds(long seconds)
setConfigDiskExpiryThreadIntervalSeconds |
void |
setConfigDiskPersistent(boolean diskPersistent)
setConfigDiskPersistent |
void |
setConfigEternal(boolean eternal)
setConfigEternal |
void |
setConfigLoggingEnabled(boolean enabled)
setConfigLoggingEnabled |
void |
setConfigMaxElementsInMemory(int maxElements)
setConfigMaxElementsInMemory |
void |
setConfigMaxElementsOnDisk(int maxElements)
setConfigMaxElementsOnDisk |
void |
setConfigMemoryStoreEvictionPolicy(String evictionPolicy)
setConfigMemoryStoreEvictionPolicy |
void |
setConfigOverflowToDisk(boolean overflowToDisk)
setConfigOverflowToDisk |
void |
setConfigTimeToIdleSeconds(long tti)
setConfigTimeToIdleSeconds |
void |
setConfigTimeToLiveSeconds(long ttl)
setConfigTimeToLiveSeconds |
void |
setEnabled(boolean enabled)
Enabled/disable the cache. |
void |
setNodeBulkLoadEnabled(boolean bulkLoadEnabled)
Enabled/disable bulk-load mode for this node. |
void |
setNodeCoherent(boolean coherent)
Deprecated. use setNodeBulkLoadEnabled(boolean) instead |
void |
setStatisticsEnabled(boolean statsEnabled)
Controls the statistics. |
void |
timeToIdleChanged(long oldTimeToIdle,
long newTimeToIdle)
Indicates a change in the configurations time to idle |
void |
timeToLiveChanged(long oldTimeToLive,
long newTimeToLive)
Indicates a change in the configurations time to live |
Methods inherited from class net.sf.ehcache.hibernate.management.impl.BaseEmitterBean |
---|
addNotificationListener, dispose, removeNotificationListener, removeNotificationListener, sendNotification, sendNotification, sendNotification |
Methods inherited from class javax.management.StandardMBean |
---|
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.ehcache.statistics.sampled.SampledCacheStatistics |
---|
dispose |
Constructor Detail |
---|
public SampledCache(Ehcache cache) throws NotCompliantMBeanException
Ehcache
cache
-
NotCompliantMBeanException
Method Detail |
---|
public boolean isEnabled()
isEnabled
in interface SampledCacheMBean
public void setEnabled(boolean enabled)
setEnabled
in interface SampledCacheMBean
@Deprecated public boolean isClusterCoherent()
isClusterBulkLoadEnabled()
instead
isClusterCoherent
in interface SampledCacheMBean
public boolean isClusterBulkLoadEnabled()
isClusterBulkLoadEnabled
in interface SampledCacheMBean
@Deprecated public boolean isNodeCoherent()
isNodeBulkLoadEnabled()
instead
isNodeCoherent
in interface SampledCacheMBean
public boolean isNodeBulkLoadEnabled()
isNodeBulkLoadEnabled
in interface SampledCacheMBean
@Deprecated public void setNodeCoherent(boolean coherent)
setNodeBulkLoadEnabled(boolean)
instead
setNodeCoherent
in interface SampledCacheMBean
public void setNodeBulkLoadEnabled(boolean bulkLoadEnabled)
setNodeBulkLoadEnabled
in interface SampledCacheMBean
public void flush()
flush
in interface SampledCacheMBean
public String getCacheName()
getCacheName
in interface LiveCacheStatistics
public String getStatus()
getStatus
in interface SampledCacheMBean
public void removeAll()
removeAll
in interface SampledCacheMBean
public long getAverageGetTimeMostRecentSample()
getAverageGetTimeMostRecentSample
in interface SampledCacheStatistics
public long getCacheElementEvictedMostRecentSample()
getCacheElementEvictedMostRecentSample
in interface SampledCacheStatistics
public long getCacheElementExpiredMostRecentSample()
getCacheElementExpiredMostRecentSample
in interface SampledCacheStatistics
public long getCacheElementPutMostRecentSample()
getCacheElementPutMostRecentSample
in interface SampledCacheStatistics
public long getCacheElementRemovedMostRecentSample()
getCacheElementRemovedMostRecentSample
in interface SampledCacheStatistics
public long getCacheElementUpdatedMostRecentSample()
getCacheElementUpdatedMostRecentSample
in interface SampledCacheStatistics
public long getCacheHitInMemoryMostRecentSample()
getCacheHitInMemoryMostRecentSample
in interface SampledCacheStatistics
public long getCacheHitOffHeapMostRecentSample()
getCacheHitOffHeapMostRecentSample
in interface SampledCacheStatistics
public long getCacheHitMostRecentSample()
getCacheHitMostRecentSample
in interface SampledCacheStatistics
public long getCacheHitOnDiskMostRecentSample()
getCacheHitOnDiskMostRecentSample
in interface SampledCacheStatistics
public long getCacheMissExpiredMostRecentSample()
getCacheMissExpiredMostRecentSample
in interface SampledCacheStatistics
public long getCacheMissMostRecentSample()
getCacheMissMostRecentSample
in interface SampledCacheStatistics
public long getCacheMissInMemoryMostRecentSample()
getCacheMissInMemoryMostRecentSample
in interface SampledCacheStatistics
public long getCacheMissOffHeapMostRecentSample()
getCacheMissOffHeapMostRecentSample
in interface SampledCacheStatistics
public long getCacheMissOnDiskMostRecentSample()
getCacheMissOnDiskMostRecentSample
in interface SampledCacheStatistics
public long getCacheMissNotFoundMostRecentSample()
getCacheMissNotFoundMostRecentSample
in interface SampledCacheStatistics
public int getStatisticsAccuracy()
getStatisticsAccuracy
in interface LiveCacheStatistics
getStatisticsAccuracy
in interface SampledCacheStatistics
public String getStatisticsAccuracyDescription()
getStatisticsAccuracyDescription
in interface LiveCacheStatistics
getStatisticsAccuracyDescription
in interface SampledCacheStatistics
public void clearStatistics()
clearStatistics
in interface SampledCacheMBean
clearStatistics
in interface LiveCacheStatistics
clearStatistics
in interface SampledCacheStatistics
public boolean isStatisticsEnabled()
isStatisticsEnabled
in interface LiveCacheStatistics
public boolean isSampledStatisticsEnabled()
isSampledStatisticsEnabled
in interface SampledCacheStatistics
public boolean isTerracottaClustered()
isTerracottaClustered
in interface SampledCacheMBean
public String getTerracottaConsistency()
getTerracottaConsistency
in interface SampledCacheMBean
public String getTerracottaStorageStrategy()
getTerracottaStorageStrategy
in interface SampledCacheMBean
public void enableStatistics()
enableStatistics
in interface SampledCacheMBean
SampledCacheMBean.enableStatistics()
public void disableStatistics()
disableStatistics
in interface SampledCacheMBean
SampledCacheMBean.disableStatistics()
public void setStatisticsEnabled(boolean statsEnabled)
setStatisticsEnabled
in interface SampledCacheMBean
SampledCacheMBean.setStatisticsEnabled(boolean)
public void enableSampledStatistics()
enableSampledStatistics
in interface SampledCacheMBean
SampledCacheMBean.enableSampledStatistics()
public void disableSampledStatistics()
disableSampledStatistics
in interface SampledCacheMBean
()
public float getAverageGetTimeMillis()
getAverageGetTimeMillis
in interface LiveCacheStatistics
LiveCacheStatistics.getAverageGetTimeMillis()
public long getMaxGetTimeMillis()
getMaxGetTimeMillis
in interface LiveCacheStatistics
LiveCacheStatistics.getMaxGetTimeMillis()
public long getXaCommitCount()
getXaCommitCount
in interface LiveCacheStatistics
LiveCacheStatistics.getXaCommitCount()
public long getXaRollbackCount()
getXaRollbackCount
in interface LiveCacheStatistics
LiveCacheStatistics.getXaRollbackCount()
public boolean getHasWriteBehindWriter()
getHasWriteBehindWriter
in interface SampledCacheMBean
public long getWriterQueueLength()
getWriterQueueLength
in interface LiveCacheStatistics
LiveCacheStatistics.getWriterQueueLength()
public int getWriterMaxQueueSize()
getWriterMaxQueueSize
in interface SampledCacheMBean
CacheWriterConfiguration.getWriteBehindMaxQueueSize()
public int getWriterConcurrency()
getWriterConcurrency
in interface SampledCacheMBean
CacheWriterConfiguration.getWriteBehindConcurrency()
public long getMinGetTimeMillis()
getMinGetTimeMillis
in interface LiveCacheStatistics
LiveCacheStatistics.getMinGetTimeMillis()
public long getCacheHitCount()
getCacheHitCount
in interface LiveCacheStatistics
LiveCacheStatistics.getCacheHitCount()
public long getCacheMissCount()
getCacheMissCount
in interface LiveCacheStatistics
LiveCacheStatistics.getCacheMissCount()
public long getInMemoryMissCount()
getInMemoryMissCount
in interface LiveCacheStatistics
LiveCacheStatistics.getInMemoryMissCount()
public long getOffHeapMissCount()
getOffHeapMissCount
in interface LiveCacheStatistics
LiveCacheStatistics.getOffHeapMissCount()
public long getOnDiskMissCount()
getOnDiskMissCount
in interface LiveCacheStatistics
LiveCacheStatistics.getOnDiskMissCount()
public long getCacheMissCountExpired()
getCacheMissCountExpired
in interface LiveCacheStatistics
LiveCacheStatistics.getCacheMissCountExpired()
public long getConfigDiskExpiryThreadIntervalSeconds()
getConfigDiskExpiryThreadIntervalSeconds
in interface SampledCacheMBean
SampledCacheMBean.getConfigDiskExpiryThreadIntervalSeconds()
public void setConfigDiskExpiryThreadIntervalSeconds(long seconds)
setConfigDiskExpiryThreadIntervalSeconds
in interface SampledCacheMBean
SampledCacheMBean.setConfigDiskExpiryThreadIntervalSeconds(long)
public int getConfigMaxElementsInMemory()
getConfigMaxElementsInMemory
in interface SampledCacheMBean
SampledCacheMBean.getConfigMaxElementsInMemory()
public void setConfigMaxElementsInMemory(int maxElements)
setConfigMaxElementsInMemory
in interface SampledCacheMBean
SampledCacheMBean.setConfigMaxElementsInMemory(int)
public int getConfigMaxElementsOnDisk()
getConfigMaxElementsOnDisk
in interface SampledCacheMBean
SampledCacheMBean.getConfigMaxElementsOnDisk()
public void setConfigMaxElementsOnDisk(int maxElements)
setConfigMaxElementsOnDisk
in interface SampledCacheMBean
SampledCacheMBean.setConfigMaxElementsOnDisk(int)
public String getConfigMemoryStoreEvictionPolicy()
getConfigMemoryStoreEvictionPolicy
in interface SampledCacheMBean
SampledCacheMBean.getConfigMemoryStoreEvictionPolicy()
public void setConfigMemoryStoreEvictionPolicy(String evictionPolicy)
setConfigMemoryStoreEvictionPolicy
in interface SampledCacheMBean
SampledCacheMBean.setConfigMemoryStoreEvictionPolicy(String)
public long getConfigTimeToIdleSeconds()
getConfigTimeToIdleSeconds
in interface SampledCacheMBean
SampledCacheMBean.getConfigTimeToIdleSeconds()
public void setConfigTimeToIdleSeconds(long tti)
setConfigTimeToIdleSeconds
in interface SampledCacheMBean
SampledCacheMBean.setConfigTimeToIdleSeconds(long)
public long getConfigTimeToLiveSeconds()
getConfigTimeToLiveSeconds
in interface SampledCacheMBean
SampledCacheMBean.getConfigTimeToLiveSeconds()
public void setConfigTimeToLiveSeconds(long ttl)
setConfigTimeToLiveSeconds
in interface SampledCacheMBean
SampledCacheMBean.setConfigTimeToLiveSeconds(long)
public boolean isConfigDiskPersistent()
isConfigDiskPersistent
in interface SampledCacheMBean
SampledCacheMBean.isConfigDiskPersistent()
public void setConfigDiskPersistent(boolean diskPersistent)
setConfigDiskPersistent
in interface SampledCacheMBean
SampledCacheMBean.setConfigDiskPersistent(boolean)
public boolean isConfigEternal()
isConfigEternal
in interface SampledCacheMBean
SampledCacheMBean.isConfigEternal()
public void setConfigEternal(boolean eternal)
setConfigEternal
in interface SampledCacheMBean
SampledCacheMBean.setConfigEternal(boolean)
public boolean isConfigOverflowToDisk()
isConfigOverflowToDisk
in interface SampledCacheMBean
SampledCacheMBean.isConfigOverflowToDisk()
public void setConfigOverflowToDisk(boolean overflowToDisk)
setConfigOverflowToDisk
in interface SampledCacheMBean
SampledCacheMBean.setConfigOverflowToDisk(boolean)
public boolean isConfigLoggingEnabled()
isConfigLoggingEnabled
in interface SampledCacheMBean
SampledCacheMBean.isConfigLoggingEnabled()
public void setConfigLoggingEnabled(boolean enabled)
setConfigLoggingEnabled
in interface SampledCacheMBean
SampledCacheMBean.setConfigLoggingEnabled(boolean)
public long getEvictedCount()
getEvictedCount
in interface LiveCacheStatistics
LiveCacheStatistics.getEvictedCount()
public long getExpiredCount()
getExpiredCount
in interface LiveCacheStatistics
LiveCacheStatistics.getExpiredCount()
public long getInMemoryHitCount()
getInMemoryHitCount
in interface LiveCacheStatistics
LiveCacheStatistics.getInMemoryHitCount()
public long getInMemorySize()
getInMemorySize
in interface LiveCacheStatistics
LiveCacheStatistics.getInMemorySize()
public long getOffHeapHitCount()
getOffHeapHitCount
in interface LiveCacheStatistics
LiveCacheStatistics.getOffHeapHitCount()
public long getOffHeapSize()
getOffHeapSize
in interface LiveCacheStatistics
LiveCacheStatistics.getOffHeapSize()
public long getOnDiskHitCount()
getOnDiskHitCount
in interface LiveCacheStatistics
LiveCacheStatistics.getOnDiskHitCount()
public long getOnDiskSize()
getOnDiskSize
in interface LiveCacheStatistics
LiveCacheStatistics.getOnDiskSize()
public long getPutCount()
getPutCount
in interface LiveCacheStatistics
LiveCacheStatistics.getPutCount()
public long getRemovedCount()
getRemovedCount
in interface LiveCacheStatistics
LiveCacheStatistics.getRemovedCount()
public long getSize()
getSize
in interface LiveCacheStatistics
LiveCacheStatistics.getSize()
public long getUpdateCount()
getUpdateCount
in interface LiveCacheStatistics
LiveCacheStatistics.getUpdateCount()
public Map<String,Object> getCacheAttributes()
public MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo
in interface NotificationBroadcaster
getNotificationInfo
in class BaseEmitterBean
BaseEmitterBean.getNotificationInfo()
public void deregistered(CacheConfiguration config)
deregistered
in interface CacheConfigurationListener
public void diskCapacityChanged(int oldCapacity, int newCapacity)
diskCapacityChanged
in interface CacheConfigurationListener
oldCapacity
- previous capacitynewCapacity
- new capacitypublic void loggingChanged(boolean oldValue, boolean newValue)
loggingChanged
in interface CacheConfigurationListener
oldValue
- old value whether logging was enabled or notnewValue
- new value whether logging was enabled or notpublic void memoryCapacityChanged(int oldCapacity, int newCapacity)
memoryCapacityChanged
in interface CacheConfigurationListener
oldCapacity
- previous capacitynewCapacity
- new capacitypublic void registered(CacheConfiguration config)
registered
in interface CacheConfigurationListener
public void timeToIdleChanged(long oldTimeToIdle, long newTimeToIdle)
timeToIdleChanged
in interface CacheConfigurationListener
oldTimeToIdle
- previous time to idle valuenewTimeToIdle
- new time to idle valuepublic void timeToLiveChanged(long oldTimeToLive, long newTimeToLive)
timeToLiveChanged
in interface CacheConfigurationListener
oldTimeToLive
- previous time to live valuenewTimeToLive
- new time to live valuepublic void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
PropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent)
protected void doDispose()
doDispose
in class BaseEmitterBean
public long getAverageSearchTime()
getAverageSearchTime
in interface SampledCacheStatistics
public long getSearchesPerSecond()
getSearchesPerSecond
in interface SampledCacheStatistics
public boolean getTransactional()
getTransactional
in interface SampledCacheMBean
CacheConfiguration.TransactionalMode
public boolean getSearchable()
getSearchable
in interface SampledCacheMBean
Searchable
public long getCacheXaCommitsMostRecentSample()
getCacheXaCommitsMostRecentSample
in interface SampledCacheStatistics
public long getCacheXaRollbacksMostRecentSample()
getCacheXaRollbacksMostRecentSample
in interface SampledCacheStatistics
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |