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.CacheStatisticsorg.apache.geode.cache.StatisticsDisabledExceptionpublic float getHitRatio()
throws org.apache.geode.cache.StatisticsDisabledException
getHitRatio in interface org.apache.geode.cache.CacheStatisticsorg.apache.geode.cache.StatisticsDisabledExceptionpublic long getLastAccessedTime()
throws org.apache.geode.cache.StatisticsDisabledException
getLastAccessedTime in interface org.apache.geode.cache.CacheStatisticsorg.apache.geode.cache.StatisticsDisabledExceptionpublic long getLastModifiedTime()
getLastModifiedTime in interface org.apache.geode.cache.CacheStatisticspublic long getMissCount()
throws org.apache.geode.cache.StatisticsDisabledException
getMissCount in interface org.apache.geode.cache.CacheStatisticsorg.apache.geode.cache.StatisticsDisabledExceptionpublic void resetCounts()
throws org.apache.geode.cache.StatisticsDisabledException
resetCounts in interface org.apache.geode.cache.CacheStatisticsorg.apache.geode.cache.StatisticsDisabledException