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()
CacheableDataStatistics
getCacheRegionName
in interface CacheableDataStatistics
public long getCacheHitCount()
CacheableDataStatistics
getCacheHitCount
in interface CacheableDataStatistics
public long getCachePutCount()
CacheableDataStatistics
getCachePutCount
in interface CacheableDataStatistics
public long getCacheMissCount()
CacheableDataStatistics
getCacheMissCount
in interface CacheableDataStatistics
public void incrementCacheHitCount()
public void incrementCacheMissCount()
public void incrementCachePutCount()
protected void appendCacheStats(StringBuilder buf)
Copyright © 2019 JBoss by Red Hat. All rights reserved.