|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.statistics.StatisticsGateway
public class StatisticsGateway
StatisticsGateway rollup class.
Field Summary | |
---|---|
static int |
DEFAULT_HISTORY_SIZE
The Constant DEFAULT_HISTORY_SIZE. |
static int |
DEFAULT_INTERVAL_SECS
The Constant DEFAULT_INTERVAL_SECS. |
static int |
DEFAULT_SEARCH_INTERVAL_SECS
The Constant DEFAULT_SEARCH_INTERVAL_SECS. |
static long |
DEFAULT_WINDOW_SIZE_SECS
The Constant DEFAULT_WINDOW_SIZE_SECS. |
Constructor Summary | |
---|---|
StatisticsGateway(Ehcache ehcache,
ScheduledExecutorService executor)
Instantiates a new statistics placeholder. |
Method Summary | |
---|---|
long |
cacheEvictedCount()
Cache evicted count. |
ExtendedStatistics.Result |
cacheEvictionOperation()
Cache eviction operation. |
long |
cacheExpiredCount()
Cache expired count. |
ExtendedStatistics.Result |
cacheExpiredOperation()
Cache expired operation. |
ExtendedStatistics.Result |
cacheGetOperation()
Cache get operation. |
long |
cacheHitCount()
Cache hit count. |
ExtendedStatistics.Result |
cacheHitOperation()
Cache hit operation. |
double |
cacheHitRatio()
Cache hit ratio |
long |
cacheMissCount()
Cache miss count. |
long |
cacheMissExpiredCount()
Cache miss expired count. |
ExtendedStatistics.Result |
cacheMissExpiredOperation()
Cache miss expired operation. |
long |
cacheMissNotFoundCount()
Cache miss not found count. |
ExtendedStatistics.Result |
cacheMissNotFoundOperation()
Cache miss not found operation. |
ExtendedStatistics.Result |
cacheMissOperation()
Cache miss operation. |
long |
cachePutAddedCount()
Cache put added count. |
ExtendedStatistics.Result |
cachePutAddedOperation()
Cache put added operation. |
long |
cachePutCount()
Cache put count. |
ExtendedStatistics.Result |
cachePutOperation()
Cache put operation. |
ExtendedStatistics.Result |
cachePutReplacedOperation()
Cache put replaced operation. |
long |
cachePutUpdatedCount()
Cache put updated count. |
long |
cacheRemoveCount()
Cache remove count. |
ExtendedStatistics.Result |
cacheRemoveOperation()
Cache remove operation. |
ExtendedStatistics.Result |
cacheSearchOperation()
Cache search operation. |
String |
getAssociatedCacheName()
Gets the associated cache name. |
CoreStatistics |
getCore()
Gets the core. |
ExtendedStatistics |
getExtended()
Gets the extended. |
long |
getLocalDiskSize()
Gets the local disk size. |
long |
getLocalDiskSizeInBytes()
Gets the local disk size in bytes. |
long |
getLocalHeapSize()
Gets the local heap size. |
long |
getLocalHeapSizeInBytes()
Gets the local heap size in bytes. |
long |
getLocalOffHeapSize()
Gets the local off heap size. |
long |
getLocalOffHeapSizeInBytes()
Gets the local off heap size in bytes. |
long |
getRemoteSize()
Gets the remote size. |
long |
getSize()
Gets the size. |
long |
getWriterQueueLength()
Gets the writer queue length. |
long |
localDiskHitCount()
Local disk hit count. |
ExtendedStatistics.Result |
localDiskHitOperation()
Local disk hit operation. |
long |
localDiskMissCount()
Local disk miss count. |
ExtendedStatistics.Result |
localDiskMissOperation()
Local disk miss operation. |
long |
localDiskPutAddedCount()
Local disk put added count. |
ExtendedStatistics.Result |
localDiskPutAddedOperation()
Local disk put added operation. |
long |
localDiskPutCount()
Local disk put count. |
ExtendedStatistics.Result |
localDiskPutOperation()
Local disk put operation. |
ExtendedStatistics.Result |
localDiskPutReplacedOperation()
Local disk put replaced operation. |
long |
localDiskPutUpdatedCount()
Local disk put updated count. |
long |
localDiskRemoveCount()
Local disk remove count. |
ExtendedStatistics.Result |
localDiskRemoveOperation()
Local disk remove operation. |
long |
localHeapHitCount()
Local heap hit count. |
ExtendedStatistics.Result |
localHeapHitOperation()
Local heap hit operation. |
long |
localHeapMissCount()
Local heap miss count. |
ExtendedStatistics.Result |
localHeapMissOperation()
Local heap miss operation. |
long |
localHeapPutAddedCount()
Local heap put added count. |
ExtendedStatistics.Result |
localHeapPutAddedOperation()
Local heap put added operation. |
long |
localHeapPutCount()
Local heap put count. |
ExtendedStatistics.Result |
localHeapPutOperation()
Local heap put operation. |
ExtendedStatistics.Result |
localHeapPutReplacedOperation()
Local heap put replaced operation. |
long |
localHeapPutUpdatedCount()
Local heap put updated count. |
long |
localHeapRemoveCount()
Local heap remove count. |
ExtendedStatistics.Result |
localHeapRemoveOperation()
Local heap remove operation. |
long |
localOffHeapHitCount()
Local off heap hit count. |
ExtendedStatistics.Result |
localOffHeapHitOperation()
Local off heap hit operation. |
long |
localOffHeapMissCount()
Local off heap miss count. |
ExtendedStatistics.Result |
localOffHeapMissOperation()
Local off heap miss operation. |
long |
localOffHeapPutAddedCount()
Local off heap put added count. |
ExtendedStatistics.Result |
localOffHeapPutAddedOperation()
Local off heap put added operation. |
long |
localOffHeapPutCount()
Local of heap put count. |
ExtendedStatistics.Result |
localOffHeapPutOperation()
Local off heap put operation. |
ExtendedStatistics.Result |
localOffHeapPutReplacedOperation()
Local off heap put replaced operation. |
long |
localOffHeapPutUpdatedCount()
Local off heap put updated count. |
long |
localOffHeapRemoveCount()
Local off heap remove count. |
ExtendedStatistics.Result |
localOffHeapRemoveOperation()
Local off heap remove operation. |
void |
setStatisticsTimeToDisable(long time,
TimeUnit unit)
Sets the statistics time to disable. |
long |
xaCommitCommittedCount()
Xa commit committed count. |
long |
xaCommitCount()
Xa commit count. |
long |
xaCommitExceptionCount()
Xa commit exception count. |
ExtendedStatistics.Result |
xaCommitExceptionOperation()
Xa commit exception operation. |
long |
xaCommitReadOnlyCount()
Xa commit read only count. |
ExtendedStatistics.Result |
xaCommitReadOnlyOperation()
Xa commit read only operation. |
ExtendedStatistics.Result |
xaCommitSuccessOperation()
Xa commit success operation. |
long |
xaRecoveryCount()
Xa recovery count. |
long |
xaRecoveryNothingCount()
Xa recovery nothing count. |
ExtendedStatistics.Result |
xaRecoveryOperation()
Xa recovery operation. |
long |
xaRecoveryRecoveredCount()
Xa recovery recovered count. |
long |
xaRollbackCount()
Xa rollback count. |
long |
xaRollbackExceptionCount()
Xa rollback exception count. |
ExtendedStatistics.Result |
xaRollbackExceptionOperation()
Xa rollback exception operation. |
ExtendedStatistics.Result |
xaRollbackOperation()
Xa rollback operation. |
long |
xaRollbackSuccessCount()
Xa rollback success count. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_HISTORY_SIZE
public static final int DEFAULT_INTERVAL_SECS
public static final int DEFAULT_SEARCH_INTERVAL_SECS
public static final long DEFAULT_WINDOW_SIZE_SECS
Constructor Detail |
---|
public StatisticsGateway(Ehcache ehcache, ScheduledExecutorService executor)
ehcache
- the ehcacheexecutor
- the executorMethod Detail |
---|
public CoreStatistics getCore()
public ExtendedStatistics getExtended()
public String getAssociatedCacheName()
public void setStatisticsTimeToDisable(long time, TimeUnit unit)
FlatStatistics
setStatisticsTimeToDisable
in interface FlatStatistics
time
- the timeunit
- the unitpublic ExtendedStatistics.Result cacheGetOperation()
FlatStatistics
cacheGetOperation
in interface FlatStatistics
public ExtendedStatistics.Result cacheHitOperation()
FlatStatistics
cacheHitOperation
in interface FlatStatistics
public ExtendedStatistics.Result cacheMissExpiredOperation()
FlatStatistics
cacheMissExpiredOperation
in interface FlatStatistics
public ExtendedStatistics.Result cacheMissNotFoundOperation()
FlatStatistics
cacheMissNotFoundOperation
in interface FlatStatistics
public ExtendedStatistics.Result cacheMissOperation()
FlatStatistics
cacheMissOperation
in interface FlatStatistics
public ExtendedStatistics.Result cachePutAddedOperation()
FlatStatistics
cachePutAddedOperation
in interface FlatStatistics
public ExtendedStatistics.Result cachePutReplacedOperation()
FlatStatistics
cachePutReplacedOperation
in interface FlatStatistics
public ExtendedStatistics.Result cachePutOperation()
FlatStatistics
cachePutOperation
in interface FlatStatistics
public ExtendedStatistics.Result cacheRemoveOperation()
FlatStatistics
cacheRemoveOperation
in interface FlatStatistics
public ExtendedStatistics.Result localHeapHitOperation()
FlatStatistics
localHeapHitOperation
in interface FlatStatistics
public ExtendedStatistics.Result localHeapMissOperation()
FlatStatistics
localHeapMissOperation
in interface FlatStatistics
public ExtendedStatistics.Result localHeapPutAddedOperation()
FlatStatistics
localHeapPutAddedOperation
in interface FlatStatistics
public ExtendedStatistics.Result localHeapPutReplacedOperation()
FlatStatistics
localHeapPutReplacedOperation
in interface FlatStatistics
public ExtendedStatistics.Result localHeapPutOperation()
FlatStatistics
localHeapPutOperation
in interface FlatStatistics
public ExtendedStatistics.Result localHeapRemoveOperation()
FlatStatistics
localHeapRemoveOperation
in interface FlatStatistics
public ExtendedStatistics.Result localOffHeapHitOperation()
FlatStatistics
localOffHeapHitOperation
in interface FlatStatistics
public ExtendedStatistics.Result localOffHeapMissOperation()
FlatStatistics
localOffHeapMissOperation
in interface FlatStatistics
public ExtendedStatistics.Result localOffHeapPutAddedOperation()
FlatStatistics
localOffHeapPutAddedOperation
in interface FlatStatistics
public ExtendedStatistics.Result localOffHeapPutReplacedOperation()
FlatStatistics
localOffHeapPutReplacedOperation
in interface FlatStatistics
public ExtendedStatistics.Result localOffHeapPutOperation()
FlatStatistics
localOffHeapPutOperation
in interface FlatStatistics
public ExtendedStatistics.Result localOffHeapRemoveOperation()
FlatStatistics
localOffHeapRemoveOperation
in interface FlatStatistics
public ExtendedStatistics.Result localDiskHitOperation()
FlatStatistics
localDiskHitOperation
in interface FlatStatistics
public ExtendedStatistics.Result localDiskMissOperation()
FlatStatistics
localDiskMissOperation
in interface FlatStatistics
public ExtendedStatistics.Result localDiskPutAddedOperation()
FlatStatistics
localDiskPutAddedOperation
in interface FlatStatistics
public ExtendedStatistics.Result localDiskPutReplacedOperation()
FlatStatistics
localDiskPutReplacedOperation
in interface FlatStatistics
public ExtendedStatistics.Result localDiskPutOperation()
FlatStatistics
localDiskPutOperation
in interface FlatStatistics
public ExtendedStatistics.Result localDiskRemoveOperation()
FlatStatistics
localDiskRemoveOperation
in interface FlatStatistics
public ExtendedStatistics.Result cacheSearchOperation()
FlatStatistics
cacheSearchOperation
in interface FlatStatistics
public ExtendedStatistics.Result xaCommitSuccessOperation()
FlatStatistics
xaCommitSuccessOperation
in interface FlatStatistics
public ExtendedStatistics.Result xaCommitExceptionOperation()
FlatStatistics
xaCommitExceptionOperation
in interface FlatStatistics
public ExtendedStatistics.Result xaCommitReadOnlyOperation()
FlatStatistics
xaCommitReadOnlyOperation
in interface FlatStatistics
public ExtendedStatistics.Result xaRollbackOperation()
FlatStatistics
xaRollbackOperation
in interface FlatStatistics
public ExtendedStatistics.Result xaRollbackExceptionOperation()
FlatStatistics
xaRollbackExceptionOperation
in interface FlatStatistics
public ExtendedStatistics.Result xaRecoveryOperation()
FlatStatistics
xaRecoveryOperation
in interface FlatStatistics
public ExtendedStatistics.Result cacheEvictionOperation()
FlatStatistics
cacheEvictionOperation
in interface FlatStatistics
public ExtendedStatistics.Result cacheExpiredOperation()
FlatStatistics
cacheExpiredOperation
in interface FlatStatistics
public long getLocalHeapSizeInBytes()
FlatStatistics
getLocalHeapSizeInBytes
in interface FlatStatistics
public long getLocalHeapSize()
FlatStatistics
getLocalHeapSize
in interface FlatStatistics
public long getWriterQueueLength()
FlatStatistics
getWriterQueueLength
in interface FlatStatistics
public long getLocalDiskSize()
FlatStatistics
getLocalDiskSize
in interface FlatStatistics
public long getLocalOffHeapSize()
FlatStatistics
getLocalOffHeapSize
in interface FlatStatistics
public long getLocalDiskSizeInBytes()
FlatStatistics
getLocalDiskSizeInBytes
in interface FlatStatistics
public long getLocalOffHeapSizeInBytes()
FlatStatistics
getLocalOffHeapSizeInBytes
in interface FlatStatistics
public long getRemoteSize()
FlatStatistics
getRemoteSize
in interface FlatStatistics
public long getSize()
FlatStatistics
getSize
in interface FlatStatistics
public long cacheHitCount()
FlatStatistics
cacheHitCount
in interface FlatStatistics
public long cacheMissExpiredCount()
FlatStatistics
cacheMissExpiredCount
in interface FlatStatistics
public long cacheMissNotFoundCount()
FlatStatistics
cacheMissNotFoundCount
in interface FlatStatistics
public long cacheMissCount()
FlatStatistics
cacheMissCount
in interface FlatStatistics
public long cachePutAddedCount()
FlatStatistics
cachePutAddedCount
in interface FlatStatistics
public long cachePutUpdatedCount()
FlatStatistics
cachePutUpdatedCount
in interface FlatStatistics
public long cachePutCount()
FlatStatistics
cachePutCount
in interface FlatStatistics
public long cacheRemoveCount()
FlatStatistics
cacheRemoveCount
in interface FlatStatistics
public long localHeapHitCount()
FlatStatistics
localHeapHitCount
in interface FlatStatistics
public long localHeapMissCount()
FlatStatistics
localHeapMissCount
in interface FlatStatistics
public long localHeapPutAddedCount()
FlatStatistics
localHeapPutAddedCount
in interface FlatStatistics
public long localHeapPutUpdatedCount()
FlatStatistics
localHeapPutUpdatedCount
in interface FlatStatistics
public long localHeapPutCount()
FlatStatistics
localHeapPutCount
in interface FlatStatistics
public long localHeapRemoveCount()
FlatStatistics
localHeapRemoveCount
in interface FlatStatistics
public long localOffHeapHitCount()
FlatStatistics
localOffHeapHitCount
in interface FlatStatistics
public long localOffHeapMissCount()
FlatStatistics
localOffHeapMissCount
in interface FlatStatistics
public long localOffHeapPutAddedCount()
FlatStatistics
localOffHeapPutAddedCount
in interface FlatStatistics
public long localOffHeapPutUpdatedCount()
FlatStatistics
localOffHeapPutUpdatedCount
in interface FlatStatistics
public long localOffHeapPutCount()
FlatStatistics
localOffHeapPutCount
in interface FlatStatistics
public long localOffHeapRemoveCount()
FlatStatistics
localOffHeapRemoveCount
in interface FlatStatistics
public long localDiskHitCount()
FlatStatistics
localDiskHitCount
in interface FlatStatistics
public long localDiskMissCount()
FlatStatistics
localDiskMissCount
in interface FlatStatistics
public long localDiskPutAddedCount()
FlatStatistics
localDiskPutAddedCount
in interface FlatStatistics
public long localDiskPutUpdatedCount()
FlatStatistics
localDiskPutUpdatedCount
in interface FlatStatistics
public long localDiskPutCount()
FlatStatistics
localDiskPutCount
in interface FlatStatistics
public long localDiskRemoveCount()
FlatStatistics
localDiskRemoveCount
in interface FlatStatistics
public long xaCommitReadOnlyCount()
FlatStatistics
xaCommitReadOnlyCount
in interface FlatStatistics
public long xaCommitExceptionCount()
FlatStatistics
xaCommitExceptionCount
in interface FlatStatistics
public long xaCommitCommittedCount()
FlatStatistics
xaCommitCommittedCount
in interface FlatStatistics
public long xaCommitCount()
FlatStatistics
xaCommitCount
in interface FlatStatistics
public long xaRecoveryNothingCount()
FlatStatistics
xaRecoveryNothingCount
in interface FlatStatistics
public long xaRecoveryRecoveredCount()
FlatStatistics
xaRecoveryRecoveredCount
in interface FlatStatistics
public long xaRecoveryCount()
FlatStatistics
xaRecoveryCount
in interface FlatStatistics
public long xaRollbackExceptionCount()
FlatStatistics
xaRollbackExceptionCount
in interface FlatStatistics
public long xaRollbackSuccessCount()
FlatStatistics
xaRollbackSuccessCount
in interface FlatStatistics
public long xaRollbackCount()
FlatStatistics
xaRollbackCount
in interface FlatStatistics
public long cacheExpiredCount()
FlatStatistics
cacheExpiredCount
in interface FlatStatistics
public long cacheEvictedCount()
FlatStatistics
cacheEvictedCount
in interface FlatStatistics
public double cacheHitRatio()
FlatStatistics
cacheHitRatio
in interface FlatStatistics
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |