|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.cache.SwarmCacheProvider
public class SwarmCacheProvider
Support for SwarmCache replicated cache. SwarmCache does not support locking, so strict "read-write" semantics are unsupported.
Constructor Summary | |
---|---|
SwarmCacheProvider()
|
Method Summary | |
---|---|
Cache |
buildCache(String regionName,
Properties properties)
Configure the cache |
boolean |
isMinimalPutsEnabledByDefault()
|
long |
nextTimestamp()
Generate a timestamp |
void |
start(Properties properties)
Callback to perform any necessary initialization of the underlying cache implementation during SessionFactory construction. |
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 SwarmCacheProvider()
Method Detail |
---|
public Cache buildCache(String regionName, Properties properties) throws CacheException
CacheProvider
buildCache
in interface CacheProvider
regionName
- the name of the cache regionproperties
- configuration settings
CacheException
public long nextTimestamp()
CacheProvider
nextTimestamp
in interface CacheProvider
public void start(Properties properties) throws CacheException
start
in interface CacheProvider
properties
- current configuration settings.
CacheException
public void stop()
stop
in interface CacheProvider
public boolean isMinimalPutsEnabledByDefault()
isMinimalPutsEnabledByDefault
in interface CacheProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |