public class ClientCacheStatisticsImpl extends CacheStatisticsImpl
CacheStatistics
implementation for client side ICache
.cacheEntryCountResolver, creationTime, evictions, EVICTIONS, expiries, EXPIRIES, FLOAT_HUNDRED, GET_CACHE_TIME_TAKEN_NANOS, getCacheTimeTakenNanos, hits, HITS, LAST_ACCESS_TIME, LAST_UPDATE_TIME, lastAccessTime, lastUpdateTime, misses, MISSES, NANOSECONDS_IN_A_MICROSECOND, PUT_TIME_TAKEN_NANOS, puts, PUTS, putTimeTakenNanos, removals, REMOVALS, REMOVE_TIME_TAKEN_NANOS, removeTimeTakenNanos
Constructor and Description |
---|
ClientCacheStatisticsImpl(long creationTime) |
ClientCacheStatisticsImpl(long creationTime,
NearCacheStats nearCacheStats) |
Modifier and Type | Method and Description |
---|---|
long |
getCacheEvictions()
The total number of evictions from the cache.
|
long |
getCacheExpiries()
The total number of expiries from the cache.
|
NearCacheStats |
getNearCacheStatistics()
Gets the near-cache statistics.
|
long |
getOwnedEntryCount()
Returns the owned entry count in the cache.
|
String |
toString() |
addGetTimeNanos, addPutTimeNanos, addRemoveTimeNanos, clear, getAverageGetTime, getAveragePutTime, getAverageRemoveTime, getCacheGets, getCacheGetTimeTakenNanos, getCacheHitPercentage, getCacheHits, getCacheMisses, getCacheMissPercentage, getCachePuts, getCachePutTimeTakenNanos, getCacheRemovals, getCacheRemoveTimeTakenNanos, getCreationTime, getLastAccessTime, getLastUpdateTime, increaseCacheEvictions, increaseCacheEvictions, increaseCacheExpiries, increaseCacheExpiries, increaseCacheHits, increaseCacheHits, increaseCacheMisses, increaseCacheMisses, increaseCachePuts, increaseCachePuts, increaseCacheRemovals, increaseCacheRemovals, setLastAccessTime, setLastUpdateTime
public ClientCacheStatisticsImpl(long creationTime)
public ClientCacheStatisticsImpl(long creationTime, NearCacheStats nearCacheStats)
public long getOwnedEntryCount()
CacheStatistics
getOwnedEntryCount
in interface CacheStatistics
getOwnedEntryCount
in class CacheStatisticsImpl
public long getCacheEvictions()
CacheStatistics
getCacheEvictions
in interface CacheStatistics
getCacheEvictions
in class CacheStatisticsImpl
public long getCacheExpiries()
CacheStatisticsImpl
getCacheExpiries
in class CacheStatisticsImpl
public NearCacheStats getNearCacheStatistics()
CacheStatistics
getNearCacheStatistics
in interface CacheStatistics
getNearCacheStatistics
in class CacheStatisticsImpl
public String toString()
toString
in class CacheStatisticsImpl
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.