|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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()
public void destroy() throws CacheException
CacheException
public long getSizeInMemory()
public long getElementCountInMemory()
public long getElementCountOnDisk()
public Map toMap()
public long nextTimestamp()
public int getTimeout()
public Ehcache getEhcache()
public boolean contains(Object key)
true
if this region contains data for the given key.
This is a Hibernate 3.5 method.
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |