接口 CacheRegionStatistics
-
- 所有超级接口:
Serializable
- 所有已知子接口:
SecondLevelCacheStatistics
- 所有已知实现类:
CacheRegionStatisticsImpl
public interface CacheRegionStatistics extends Serializable
Second level cache statistics of a specific region- 作者:
- Gavin King
-
-
字段概要
字段 修饰符和类型 字段 说明 static longNO_EXTENDED_STAT_SUPPORT_RETURNThe value returned fromgetElementCountInMemory(),getElementCountOnDisk()andgetSizeInMemory()for cache providers that do not support such "extended" statistics.
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 longgetElementCountInMemory()The number of elements currently in memory within the cache provider.longgetElementCountOnDisk()The number of elements currently stored to disk within the cache provider.longgetHitCount()The number of successful cache look-ups against the region since the last Statistics clearinglonggetMissCount()The number of unsuccessful cache look-ups against the region since the last Statistics clearinglonggetPutCount()The number of cache puts into the region since the last Statistics clearingStringgetRegionName()longgetSizeInMemory()The size that the in-memory elements take up within the cache provider.
-
-
-
字段详细资料
-
NO_EXTENDED_STAT_SUPPORT_RETURN
static final long NO_EXTENDED_STAT_SUPPORT_RETURN
The value returned fromgetElementCountInMemory(),getElementCountOnDisk()andgetSizeInMemory()for cache providers that do not support such "extended" statistics.- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
getRegionName
String getRegionName()
-
getPutCount
long getPutCount()
The number of cache puts into the region since the last Statistics clearing
-
getHitCount
long getHitCount()
The number of successful cache look-ups against the region since the last Statistics clearing
-
getMissCount
long getMissCount()
The number of unsuccessful cache look-ups against the region since the last Statistics clearing
-
getElementCountInMemory
long getElementCountInMemory()
The number of elements currently in memory within the cache provider. This is an optional value contingent upon the underlying cache provider providing extended stats support viaExtendedStatisticsSupport. If the provider does not support extended stats,NO_EXTENDED_STAT_SUPPORT_RETURNis returned instead.
-
getElementCountOnDisk
long getElementCountOnDisk()
The number of elements currently stored to disk within the cache provider. This is an optional value contingent upon the underlying cache provider providing extended stats support viaExtendedStatisticsSupport. If the provider does not support extended stats,NO_EXTENDED_STAT_SUPPORT_RETURNis returned instead.
-
getSizeInMemory
long getSizeInMemory()
The size that the in-memory elements take up within the cache provider. This is an optional value contingent upon the underlying cache provider providing extended stats support viaExtendedStatisticsSupport. If the provider does not support extended stats,NO_EXTENDED_STAT_SUPPORT_RETURNis returned instead.
-
-