protected static class RegionStatisticsResolver.PartitionRegionCacheStatistics
extends java.lang.Object
implements org.apache.geode.cache.CacheStatistics
Modifier | Constructor and Description |
---|---|
protected |
PartitionRegionCacheStatistics(org.apache.geode.cache.Region<?,?> region) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.geode.internal.cache.PartitionedRegion |
computeStatistics(org.apache.geode.internal.cache.PartitionedRegion region) |
long |
getHitCount() |
float |
getHitRatio() |
long |
getLastAccessedTime() |
long |
getLastModifiedTime() |
long |
getMissCount() |
protected org.apache.geode.internal.cache.PartitionedRegion |
getPartitionRegion() |
void |
resetCounts() |
protected PartitionRegionCacheStatistics(org.apache.geode.cache.Region<?,?> region)
protected org.apache.geode.internal.cache.PartitionedRegion computeStatistics(org.apache.geode.internal.cache.PartitionedRegion region)
protected org.apache.geode.internal.cache.PartitionedRegion getPartitionRegion()
public long getHitCount() throws org.apache.geode.cache.StatisticsDisabledException
getHitCount
in interface org.apache.geode.cache.CacheStatistics
org.apache.geode.cache.StatisticsDisabledException
public float getHitRatio() throws org.apache.geode.cache.StatisticsDisabledException
getHitRatio
in interface org.apache.geode.cache.CacheStatistics
org.apache.geode.cache.StatisticsDisabledException
public long getLastAccessedTime() throws org.apache.geode.cache.StatisticsDisabledException
getLastAccessedTime
in interface org.apache.geode.cache.CacheStatistics
org.apache.geode.cache.StatisticsDisabledException
public long getLastModifiedTime()
getLastModifiedTime
in interface org.apache.geode.cache.CacheStatistics
public long getMissCount() throws org.apache.geode.cache.StatisticsDisabledException
getMissCount
in interface org.apache.geode.cache.CacheStatistics
org.apache.geode.cache.StatisticsDisabledException
public void resetCounts() throws org.apache.geode.cache.StatisticsDisabledException
resetCounts
in interface org.apache.geode.cache.CacheStatistics
org.apache.geode.cache.StatisticsDisabledException