Top Description Fields Constructors Methods
org.hibernate.stat

public Class ConcurrentSecondLevelCacheStatisticsImpl

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

Second level cache statistics of a specific region
Author
Alex Snaps

Field Summary

Modifier and TypeField and Description
private AtomicLong
private AtomicLong
private AtomicLong
private final 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
pack-priv void
pack-priv void
pack-priv void
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
private AtomicLong hitCount
missCountback to summary
private AtomicLong missCount
putCountback to summary
private AtomicLong putCount
regionback to summary
private final transient Region region

Constructor Detail

ConcurrentSecondLevelCacheStatisticsImplback to summary
pack-priv ConcurrentSecondLevelCacheStatisticsImpl(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.

incrementHitCountback to summary
pack-priv void incrementHitCount()
incrementMissCountback to summary
pack-priv void incrementMissCount()
incrementPutCountback to summary
pack-priv void incrementPutCount()
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.