net.sf.hibernate.cache
Class SwarmCacheProvider
java.lang.Object
net.sf.hibernate.cache.SwarmCacheProvider
- All Implemented Interfaces:
- CacheProvider
- public class SwarmCacheProvider
- extends Object
- implements CacheProvider
Support for SwarmCache replicated cache. SwarmCache does not support
locking, so strict "read-write" semantics are unsupported.
- Author:
- Jason Carreira
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SwarmCacheProvider
public SwarmCacheProvider()
buildCache
public Cache buildCache(String s,
Properties properties)
throws CacheException
- Description copied from interface:
CacheProvider
- Configure the cache
- Specified by:
buildCache
in interface CacheProvider
- Parameters:
s
- the name of the cache regionproperties
- configuration settings
- Throws:
CacheException
nextTimestamp
public long nextTimestamp()
- Description copied from interface:
CacheProvider
- Generate a timestamp
- Specified by:
nextTimestamp
in interface CacheProvider