public class CacheRegionStatisticsImpl extends Object implements CacheRegionStatistics, SecondLevelCacheStatistics, Serializable
NO_EXTENDED_STAT_SUPPORT_RETURN
Modifier and Type | Method and Description |
---|---|
long |
getElementCountInMemory()
The number of elements currently in memory within the cache provider.
|
long |
getElementCountOnDisk()
The number of elements currently stored to disk within the cache provider.
|
long |
getHitCount()
The number of successful cache look-ups against the region since the
last Statistics clearing
|
long |
getMissCount()
The number of unsuccessful cache look-ups against the region since the
last Statistics clearing
|
long |
getPutCount()
The number of cache puts into the region since the last Statistics
clearing
|
String |
getRegionName() |
long |
getSizeInMemory()
The size that the in-memory elements take up within the cache provider.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEntries
public String getRegionName()
getRegionName
in interface CacheRegionStatistics
public long getHitCount()
CacheRegionStatistics
getHitCount
in interface CacheRegionStatistics
public long getMissCount()
CacheRegionStatistics
getMissCount
in interface CacheRegionStatistics
public long getPutCount()
CacheRegionStatistics
getPutCount
in interface CacheRegionStatistics
public long getElementCountInMemory()
CacheRegionStatistics
ExtendedStatisticsSupport
. If the provider
does not support extended stats, CacheRegionStatistics.NO_EXTENDED_STAT_SUPPORT_RETURN
is returned instead.getElementCountInMemory
in interface CacheRegionStatistics
public long getElementCountOnDisk()
CacheRegionStatistics
ExtendedStatisticsSupport
. If the provider
does not support extended stats, CacheRegionStatistics.NO_EXTENDED_STAT_SUPPORT_RETURN
is returned instead.getElementCountOnDisk
in interface CacheRegionStatistics
public long getSizeInMemory()
CacheRegionStatistics
ExtendedStatisticsSupport
. If the provider
does not support extended stats, CacheRegionStatistics.NO_EXTENDED_STAT_SUPPORT_RETURN
is returned instead.getSizeInMemory
in interface CacheRegionStatistics
Copyright © 2019 JBoss by Red Hat. All rights reserved.