public class StatisticsGateway extends Object implements FlatStatistics
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
StatisticsGateway(Ehcache ehcache,
ScheduledExecutorService executor)
Instantiates a new statistics placeholder.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
void |
dispose()
Dispose of this statistics gateway.
|
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.
|
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
public StatisticsGateway(Ehcache ehcache, ScheduledExecutorService executor)
ehcache - the ehcacheexecutor - the executorpublic CoreStatistics getCore()
public ExtendedStatistics getExtended()
public void dispose()
public String getAssociatedCacheName()
public void setStatisticsTimeToDisable(long time,
TimeUnit unit)
FlatStatisticssetStatisticsTimeToDisable in interface FlatStatisticstime - the timeunit - the unitpublic ExtendedStatistics.Result cacheGetOperation()
FlatStatisticscacheGetOperation in interface FlatStatisticspublic ExtendedStatistics.Result cacheHitOperation()
FlatStatisticscacheHitOperation in interface FlatStatisticspublic ExtendedStatistics.Result cacheMissExpiredOperation()
FlatStatisticscacheMissExpiredOperation in interface FlatStatisticspublic ExtendedStatistics.Result cacheMissNotFoundOperation()
FlatStatisticscacheMissNotFoundOperation in interface FlatStatisticspublic ExtendedStatistics.Result cacheMissOperation()
FlatStatisticscacheMissOperation in interface FlatStatisticspublic ExtendedStatistics.Result cachePutAddedOperation()
FlatStatisticscachePutAddedOperation in interface FlatStatisticspublic ExtendedStatistics.Result cachePutReplacedOperation()
FlatStatisticscachePutReplacedOperation in interface FlatStatisticspublic ExtendedStatistics.Result cachePutOperation()
FlatStatisticscachePutOperation in interface FlatStatisticspublic ExtendedStatistics.Result cacheRemoveOperation()
FlatStatisticscacheRemoveOperation in interface FlatStatisticspublic ExtendedStatistics.Result localHeapHitOperation()
FlatStatisticslocalHeapHitOperation in interface FlatStatisticspublic ExtendedStatistics.Result localHeapMissOperation()
FlatStatisticslocalHeapMissOperation in interface FlatStatisticspublic ExtendedStatistics.Result localHeapPutAddedOperation()
FlatStatisticslocalHeapPutAddedOperation in interface FlatStatisticspublic ExtendedStatistics.Result localHeapPutReplacedOperation()
FlatStatisticslocalHeapPutReplacedOperation in interface FlatStatisticspublic ExtendedStatistics.Result localHeapPutOperation()
FlatStatisticslocalHeapPutOperation in interface FlatStatisticspublic ExtendedStatistics.Result localHeapRemoveOperation()
FlatStatisticslocalHeapRemoveOperation in interface FlatStatisticspublic ExtendedStatistics.Result localOffHeapHitOperation()
FlatStatisticslocalOffHeapHitOperation in interface FlatStatisticspublic ExtendedStatistics.Result localOffHeapMissOperation()
FlatStatisticslocalOffHeapMissOperation in interface FlatStatisticspublic ExtendedStatistics.Result localOffHeapPutAddedOperation()
FlatStatisticslocalOffHeapPutAddedOperation in interface FlatStatisticspublic ExtendedStatistics.Result localOffHeapPutReplacedOperation()
FlatStatisticslocalOffHeapPutReplacedOperation in interface FlatStatisticspublic ExtendedStatistics.Result localOffHeapPutOperation()
FlatStatisticslocalOffHeapPutOperation in interface FlatStatisticspublic ExtendedStatistics.Result localOffHeapRemoveOperation()
FlatStatisticslocalOffHeapRemoveOperation in interface FlatStatisticspublic ExtendedStatistics.Result localDiskHitOperation()
FlatStatisticslocalDiskHitOperation in interface FlatStatisticspublic ExtendedStatistics.Result localDiskMissOperation()
FlatStatisticslocalDiskMissOperation in interface FlatStatisticspublic ExtendedStatistics.Result localDiskPutAddedOperation()
FlatStatisticslocalDiskPutAddedOperation in interface FlatStatisticspublic ExtendedStatistics.Result localDiskPutReplacedOperation()
FlatStatisticslocalDiskPutReplacedOperation in interface FlatStatisticspublic ExtendedStatistics.Result localDiskPutOperation()
FlatStatisticslocalDiskPutOperation in interface FlatStatisticspublic ExtendedStatistics.Result localDiskRemoveOperation()
FlatStatisticslocalDiskRemoveOperation in interface FlatStatisticspublic ExtendedStatistics.Result cacheSearchOperation()
FlatStatisticscacheSearchOperation in interface FlatStatisticspublic ExtendedStatistics.Result xaCommitSuccessOperation()
FlatStatisticsxaCommitSuccessOperation in interface FlatStatisticspublic ExtendedStatistics.Result xaCommitExceptionOperation()
FlatStatisticsxaCommitExceptionOperation in interface FlatStatisticspublic ExtendedStatistics.Result xaCommitReadOnlyOperation()
FlatStatisticsxaCommitReadOnlyOperation in interface FlatStatisticspublic ExtendedStatistics.Result xaRollbackOperation()
FlatStatisticsxaRollbackOperation in interface FlatStatisticspublic ExtendedStatistics.Result xaRollbackExceptionOperation()
FlatStatisticsxaRollbackExceptionOperation in interface FlatStatisticspublic ExtendedStatistics.Result xaRecoveryOperation()
FlatStatisticsxaRecoveryOperation in interface FlatStatisticspublic ExtendedStatistics.Result cacheEvictionOperation()
FlatStatisticscacheEvictionOperation in interface FlatStatisticspublic ExtendedStatistics.Result cacheExpiredOperation()
FlatStatisticscacheExpiredOperation in interface FlatStatisticspublic long getLocalHeapSizeInBytes()
FlatStatisticsgetLocalHeapSizeInBytes in interface FlatStatisticspublic long getLocalHeapSize()
FlatStatisticsgetLocalHeapSize in interface FlatStatisticspublic long getWriterQueueLength()
FlatStatisticsgetWriterQueueLength in interface FlatStatisticspublic long getLocalDiskSize()
FlatStatisticsgetLocalDiskSize in interface FlatStatisticspublic long getLocalOffHeapSize()
FlatStatisticsgetLocalOffHeapSize in interface FlatStatisticspublic long getLocalDiskSizeInBytes()
FlatStatisticsgetLocalDiskSizeInBytes in interface FlatStatisticspublic long getLocalOffHeapSizeInBytes()
FlatStatisticsgetLocalOffHeapSizeInBytes in interface FlatStatisticspublic long getRemoteSize()
FlatStatisticsgetRemoteSize in interface FlatStatisticspublic long getSize()
FlatStatisticsgetSize in interface FlatStatisticspublic long cacheHitCount()
FlatStatisticscacheHitCount in interface FlatStatisticspublic long cacheMissExpiredCount()
FlatStatisticscacheMissExpiredCount in interface FlatStatisticspublic long cacheMissNotFoundCount()
FlatStatisticscacheMissNotFoundCount in interface FlatStatisticspublic long cacheMissCount()
FlatStatisticscacheMissCount in interface FlatStatisticspublic long cachePutAddedCount()
FlatStatisticscachePutAddedCount in interface FlatStatisticspublic long cachePutUpdatedCount()
FlatStatisticscachePutUpdatedCount in interface FlatStatisticspublic long cachePutCount()
FlatStatisticscachePutCount in interface FlatStatisticspublic long cacheRemoveCount()
FlatStatisticscacheRemoveCount in interface FlatStatisticspublic long localHeapHitCount()
FlatStatisticslocalHeapHitCount in interface FlatStatisticspublic long localHeapMissCount()
FlatStatisticslocalHeapMissCount in interface FlatStatisticspublic long localHeapPutAddedCount()
FlatStatisticslocalHeapPutAddedCount in interface FlatStatisticspublic long localHeapPutUpdatedCount()
FlatStatisticslocalHeapPutUpdatedCount in interface FlatStatisticspublic long localHeapPutCount()
FlatStatisticslocalHeapPutCount in interface FlatStatisticspublic long localHeapRemoveCount()
FlatStatisticslocalHeapRemoveCount in interface FlatStatisticspublic long localOffHeapHitCount()
FlatStatisticslocalOffHeapHitCount in interface FlatStatisticspublic long localOffHeapMissCount()
FlatStatisticslocalOffHeapMissCount in interface FlatStatisticspublic long localOffHeapPutAddedCount()
FlatStatisticslocalOffHeapPutAddedCount in interface FlatStatisticspublic long localOffHeapPutUpdatedCount()
FlatStatisticslocalOffHeapPutUpdatedCount in interface FlatStatisticspublic long localOffHeapPutCount()
FlatStatisticslocalOffHeapPutCount in interface FlatStatisticspublic long localOffHeapRemoveCount()
FlatStatisticslocalOffHeapRemoveCount in interface FlatStatisticspublic long localDiskHitCount()
FlatStatisticslocalDiskHitCount in interface FlatStatisticspublic long localDiskMissCount()
FlatStatisticslocalDiskMissCount in interface FlatStatisticspublic long localDiskPutAddedCount()
FlatStatisticslocalDiskPutAddedCount in interface FlatStatisticspublic long localDiskPutUpdatedCount()
FlatStatisticslocalDiskPutUpdatedCount in interface FlatStatisticspublic long localDiskPutCount()
FlatStatisticslocalDiskPutCount in interface FlatStatisticspublic long localDiskRemoveCount()
FlatStatisticslocalDiskRemoveCount in interface FlatStatisticspublic long xaCommitReadOnlyCount()
FlatStatisticsxaCommitReadOnlyCount in interface FlatStatisticspublic long xaCommitExceptionCount()
FlatStatisticsxaCommitExceptionCount in interface FlatStatisticspublic long xaCommitCommittedCount()
FlatStatisticsxaCommitCommittedCount in interface FlatStatisticspublic long xaCommitCount()
FlatStatisticsxaCommitCount in interface FlatStatisticspublic long xaRecoveryNothingCount()
FlatStatisticsxaRecoveryNothingCount in interface FlatStatisticspublic long xaRecoveryRecoveredCount()
FlatStatisticsxaRecoveryRecoveredCount in interface FlatStatisticspublic long xaRecoveryCount()
FlatStatisticsxaRecoveryCount in interface FlatStatisticspublic long xaRollbackExceptionCount()
FlatStatisticsxaRollbackExceptionCount in interface FlatStatisticspublic long xaRollbackSuccessCount()
FlatStatisticsxaRollbackSuccessCount in interface FlatStatisticspublic long xaRollbackCount()
FlatStatisticsxaRollbackCount in interface FlatStatisticspublic long cacheExpiredCount()
FlatStatisticscacheExpiredCount in interface FlatStatisticspublic long cacheEvictedCount()
FlatStatisticscacheEvictedCount in interface FlatStatisticspublic double cacheHitRatio()
FlatStatisticscacheHitRatio in interface FlatStatisticsCopyright 2001-2021, Terracotta, Inc.