类 CacheRegionStatisticsImpl
- java.lang.Object
-
- org.hibernate.stat.internal.CacheRegionStatisticsImpl
-
public class CacheRegionStatisticsImpl extends Object implements CacheRegionStatistics, SecondLevelCacheStatistics, Serializable
Second level cache statistics of a specific region- 作者:
- Alex Snaps
- 另请参阅:
- 序列化表格
-
-
字段概要
-
从接口继承的字段 org.hibernate.stat.CacheRegionStatistics
NO_EXTENDED_STAT_SUPPORT_RETURN
-
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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.StringtoString()-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 org.hibernate.stat.SecondLevelCacheStatistics
getEntries
-
-
-
-
方法详细资料
-
getRegionName
public String getRegionName()
- 指定者:
getRegionName在接口中CacheRegionStatistics
-
getHitCount
public long getHitCount()
从接口复制的说明:CacheRegionStatisticsThe number of successful cache look-ups against the region since the last Statistics clearing- 指定者:
getHitCount在接口中CacheRegionStatistics
-
getMissCount
public long getMissCount()
从接口复制的说明:CacheRegionStatisticsThe number of unsuccessful cache look-ups against the region since the last Statistics clearing- 指定者:
getMissCount在接口中CacheRegionStatistics
-
getPutCount
public long getPutCount()
从接口复制的说明:CacheRegionStatisticsThe number of cache puts into the region since the last Statistics clearing- 指定者:
getPutCount在接口中CacheRegionStatistics
-
getElementCountInMemory
public long getElementCountInMemory()
从接口复制的说明:CacheRegionStatisticsThe 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,CacheRegionStatistics.NO_EXTENDED_STAT_SUPPORT_RETURNis returned instead.- 指定者:
getElementCountInMemory在接口中CacheRegionStatistics
-
getElementCountOnDisk
public long getElementCountOnDisk()
从接口复制的说明:CacheRegionStatisticsThe 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,CacheRegionStatistics.NO_EXTENDED_STAT_SUPPORT_RETURNis returned instead.- 指定者:
getElementCountOnDisk在接口中CacheRegionStatistics
-
getSizeInMemory
public long getSizeInMemory()
从接口复制的说明:CacheRegionStatisticsThe 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,CacheRegionStatistics.NO_EXTENDED_STAT_SUPPORT_RETURNis returned instead.- 指定者:
getSizeInMemory在接口中CacheRegionStatistics
-
-