|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.hibernate.regions.EhcacheDataRegion
public abstract class EhcacheDataRegion
An Ehcache specific data region implementation.
This class is the ultimate superclass for all Ehcache Hibernate cache regions.
| Field Summary | |
|---|---|
protected EhcacheAccessStrategyFactory |
accessStrategyFactory
The EhcacheAccessStrategyFactory used for creating various access strategies |
protected Ehcache |
cache
Ehcache instance backing this Hibernate data region. |
| Method Summary | |
|---|---|
boolean |
contains(Object key)
Returns true if this region contains data for the given key. |
void |
destroy()
|
Ehcache |
getEhcache()
Return the Ehcache instance backing this Hibernate data region. |
long |
getElementCountInMemory()
|
long |
getElementCountOnDisk()
|
String |
getName()
|
long |
getSizeInMemory()
|
int |
getTimeout()
|
long |
nextTimestamp()
|
Map |
toMap()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Ehcache cache
protected final EhcacheAccessStrategyFactory accessStrategyFactory
EhcacheAccessStrategyFactory used for creating various access strategies
| Method Detail |
|---|
public String getName()
getName in interface org.hibernate.cache.Region
public void destroy()
throws org.hibernate.cache.CacheException
destroy in interface org.hibernate.cache.Regionorg.hibernate.cache.CacheExceptionpublic long getSizeInMemory()
getSizeInMemory in interface org.hibernate.cache.Regionpublic long getElementCountInMemory()
getElementCountInMemory in interface org.hibernate.cache.Regionpublic long getElementCountOnDisk()
getElementCountOnDisk in interface org.hibernate.cache.Regionpublic Map toMap()
toMap in interface org.hibernate.cache.Regionpublic long nextTimestamp()
nextTimestamp in interface org.hibernate.cache.Regionpublic int getTimeout()
getTimeout in interface org.hibernate.cache.Regionpublic Ehcache getEhcache()
public boolean contains(Object key)
true if this region contains data for the given key.
This is a Hibernate 3.5 method.
contains in interface org.hibernate.cache.Region
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||