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, setLastUpdateTimepublic ClientCacheStatisticsImpl(long creationTime)
public ClientCacheStatisticsImpl(long creationTime,
NearCacheStats nearCacheStats)
public long getOwnedEntryCount()
CacheStatisticsgetOwnedEntryCount in interface CacheStatisticsgetOwnedEntryCount in class CacheStatisticsImplpublic long getCacheEvictions()
CacheStatisticsgetCacheEvictions in interface CacheStatisticsgetCacheEvictions in class CacheStatisticsImplpublic long getCacheExpiries()
CacheStatisticsImplgetCacheExpiries in class CacheStatisticsImplpublic NearCacheStats getNearCacheStatistics()
CacheStatisticsgetNearCacheStatistics in interface CacheStatisticsgetNearCacheStatistics in class CacheStatisticsImplpublic String toString()
toString in class CacheStatisticsImplCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.