org.hibernate.cache
public class: HashtableCacheProvider [javadoc |
source]
java.lang.Object
org.hibernate.cache.HashtableCacheProvider
All Implemented Interfaces:
CacheProvider
A simple in-memory Hashtable-based cache impl.
| Method from org.hibernate.cache.HashtableCacheProvider Detail: |
public Cache buildCache(String regionName,
Properties properties) throws CacheException {
return new HashtableCache( regionName );
}
|
public boolean isMinimalPutsEnabledByDefault() {
return false;
}
|
public long nextTimestamp() {
return Timestamper.next();
}
|
public void start(Properties properties) throws CacheException {
}
Callback to perform any necessary initialization of the underlying cache implementation
during SessionFactory construction. |
public void stop() {
}
Callback to perform any necessary cleanup of the underlying cache implementation
during SessionFactory.close(). |