net.sf.hibernate.cache
Class TreeCacheProvider

java.lang.Object
  extended bynet.sf.hibernate.cache.TreeCacheProvider
All Implemented Interfaces:
CacheProvider

public class TreeCacheProvider
extends Object
implements CacheProvider

Support for JBoss TreeCache

Author:
Gavin King

Constructor Summary
TreeCacheProvider()
           
 
Method Summary
 Cache buildCache(String regionName, Properties properties)
          Configure the cache
 long nextTimestamp()
          Generate a timestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeCacheProvider

public TreeCacheProvider()
Method Detail

buildCache

public Cache buildCache(String regionName,
                        Properties properties)
                 throws CacheException
Description copied from interface: CacheProvider
Configure the cache

Specified by:
buildCache in interface CacheProvider
Parameters:
regionName - the name of the cache region
properties - configuration settings
Throws:
CacheException

nextTimestamp

public long nextTimestamp()
Description copied from interface: CacheProvider
Generate a timestamp

Specified by:
nextTimestamp in interface CacheProvider