org.hibernate.cache
Class HashtableCacheProvider
java.lang.Object
org.hibernate.cache.HashtableCacheProvider
- CacheProvider
public class HashtableCacheProvider
extends java.lang.Object
A simple in-memory Hashtable-based cache impl.
Cache | buildCache(String regionName, Properties properties)
|
boolean | isMinimalPutsEnabledByDefault()
|
long | nextTimestamp()
|
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().
|
start
public void start(Properties properties)
throws CacheException
Callback to perform any necessary initialization of the underlying cache implementation
during SessionFactory construction.
- start in interface CacheProvider
properties
- current configuration settings.
stop
public void stop()
Callback to perform any necessary cleanup of the underlying cache implementation
during SessionFactory.close().
- stop in interface CacheProvider