public abstract class AbstractCacheableDataStatistics extends Object implements CacheableDataStatistics
NOT_CACHED_COUNT| Constructor and Description |
|---|
AbstractCacheableDataStatistics(Supplier<Region> regionSupplier) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendCacheStats(StringBuilder buf) |
long |
getCacheHitCount()
The number of successful cache look-ups for this data from its
configured cache region since the last Statistics clearing
|
long |
getCacheMissCount()
The number of unsuccessful cache look-ups for this data from its
configured cache region since the last Statistics clearing
|
long |
getCachePutCount()
The number of times this data has been into its configured cache region
since the last Statistics clearing
|
String |
getCacheRegionName()
The name of the region where this data is cached.
|
void |
incrementCacheHitCount() |
void |
incrementCacheMissCount() |
void |
incrementCachePutCount() |
public String getCacheRegionName()
CacheableDataStatisticsgetCacheRegionName in interface CacheableDataStatisticspublic long getCacheHitCount()
CacheableDataStatisticsgetCacheHitCount in interface CacheableDataStatisticspublic long getCachePutCount()
CacheableDataStatisticsgetCachePutCount in interface CacheableDataStatisticspublic long getCacheMissCount()
CacheableDataStatisticsgetCacheMissCount in interface CacheableDataStatisticspublic void incrementCacheHitCount()
public void incrementCacheMissCount()
public void incrementCachePutCount()
protected void appendCacheStats(StringBuilder buf)
Copyright © 2019 JBoss by Red Hat. All rights reserved.