Top Description Fields Constructors Methods
org.hibernate.stat

public Class SecondLevelCacheStatisticsImpl

extends CategorizedStatistics
implements SecondLevelCacheStatistics
Class Inheritance
All Implemented Interfaces
org.hibernate.stat.SecondLevelCacheStatistics, java.io.Serializable
Imports
java.util.HashMap, .Iterator, .Map, org.hibernate.cache.CacheKey, .Region

Second level cache statistics of a specific region
Author
Gavin King

Field Summary

Modifier and TypeField and Description
pack-priv long
pack-priv long
pack-priv long
private transient Region

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public long
public long
public Map<K, V>
public long
public long
public long
public long
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from org.hibernate.stat.CategorizedStatistics:
getCategoryName

Field Detail

hitCountback to summary
pack-priv long hitCount
missCountback to summary
pack-priv long missCount
putCountback to summary
pack-priv long putCount
regionback to summary
private transient Region region

Constructor Detail

SecondLevelCacheStatisticsImplback to summary
pack-priv SecondLevelCacheStatisticsImpl(Region region)

Method Detail

getElementCountInMemoryback to summary
public long getElementCountInMemory()

Implements org.hibernate.stat.SecondLevelCacheStatistics.getElementCountInMemory.

getElementCountOnDiskback to summary
public long getElementCountOnDisk()

Implements org.hibernate.stat.SecondLevelCacheStatistics.getElementCountOnDisk.

getEntriesback to summary
public Map<K, V> getEntries()

Implements org.hibernate.stat.SecondLevelCacheStatistics.getEntries.

getHitCountback to summary
public long getHitCount()

Implements org.hibernate.stat.SecondLevelCacheStatistics.getHitCount.

getMissCountback to summary
public long getMissCount()

Implements org.hibernate.stat.SecondLevelCacheStatistics.getMissCount.

getPutCountback to summary
public long getPutCount()

Implements org.hibernate.stat.SecondLevelCacheStatistics.getPutCount.

getSizeInMemoryback to summary
public long getSizeInMemory()

Implements org.hibernate.stat.SecondLevelCacheStatistics.getSizeInMemory.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.