类 AbstractCacheableDataStatistics
- java.lang.Object
-
- org.hibernate.stat.internal.AbstractCacheableDataStatistics
-
- 所有已实现的接口:
Serializable,CacheableDataStatistics
public abstract class AbstractCacheableDataStatistics extends Object implements CacheableDataStatistics
- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
字段概要
-
从接口继承的字段 org.hibernate.stat.CacheableDataStatistics
NOT_CACHED_COUNT
-
-
构造器概要
构造器 构造器 说明 AbstractCacheableDataStatistics(Supplier<Region> regionSupplier)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voidappendCacheStats(StringBuilder buf)longgetCacheHitCount()The number of successful cache look-ups for this data from its configured cache region since the last Statistics clearinglonggetCacheMissCount()The number of unsuccessful cache look-ups for this data from its configured cache region since the last Statistics clearinglonggetCachePutCount()The number of times this data has been into its configured cache region since the last Statistics clearingStringgetCacheRegionName()The name of the region where this data is cached.voidincrementCacheHitCount()voidincrementCacheMissCount()voidincrementCachePutCount()
-
-
-
方法详细资料
-
getCacheRegionName
public String getCacheRegionName()
从接口复制的说明:CacheableDataStatisticsThe name of the region where this data is cached.- 指定者:
getCacheRegionName在接口中CacheableDataStatistics
-
getCacheHitCount
public long getCacheHitCount()
从接口复制的说明:CacheableDataStatisticsThe number of successful cache look-ups for this data from its configured cache region since the last Statistics clearing- 指定者:
getCacheHitCount在接口中CacheableDataStatistics
-
getCachePutCount
public long getCachePutCount()
从接口复制的说明:CacheableDataStatisticsThe number of times this data has been into its configured cache region since the last Statistics clearing- 指定者:
getCachePutCount在接口中CacheableDataStatistics
-
getCacheMissCount
public long getCacheMissCount()
从接口复制的说明:CacheableDataStatisticsThe number of unsuccessful cache look-ups for this data from its configured cache region since the last Statistics clearing- 指定者:
getCacheMissCount在接口中CacheableDataStatistics
-
incrementCacheHitCount
public void incrementCacheHitCount()
-
incrementCacheMissCount
public void incrementCacheMissCount()
-
incrementCachePutCount
public void incrementCachePutCount()
-
appendCacheStats
protected void appendCacheStats(StringBuilder buf)
-
-