|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.hibernate.cache.TreeCacheProvider
Support for JBoss TreeCache
Constructor Summary | |
TreeCacheProvider()
|
Method Summary | |
Cache |
buildCache(String regionName,
Properties properties)
Construct and configure the Cache representation of a named cache region. |
long |
nextTimestamp()
Generate a timestamp |
void |
start(Properties properties)
Prepare the underlying JBossCache TreeCache instance. |
void |
stop()
Callback to perform any necessary cleanup of the underlying cache implementation during SessionFactory.close(). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TreeCacheProvider()
Method Detail |
public Cache buildCache(String regionName, Properties properties) throws CacheException
buildCache
in interface CacheProvider
regionName
- the name of the cache regionproperties
- configuration settings
CacheException
- Indicates an error building the cache region.public long nextTimestamp()
CacheProvider
nextTimestamp
in interface CacheProvider
public void start(Properties properties) throws CacheException
start
in interface CacheProvider
properties
- All current config settings.
CacheException
- Indicates a problem preparing cache for use.public void stop()
CacheProvider
stop
in interface CacheProvider
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |