|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.cache.HashtableCacheProvider
public class HashtableCacheProvider
A simple in-memory Hashtable-based cache impl.
| Constructor Summary | |
|---|---|
HashtableCacheProvider()
|
|
| 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 HashtableCacheProvider()
| Method Detail |
|---|
public Cache buildCache(String regionName,
Properties properties)
throws CacheException
CacheProvider
buildCache in interface CacheProviderregionName - the name of the cache regionproperties - configuration settings
CacheExceptionpublic long nextTimestamp()
CacheProvider
nextTimestamp in interface CacheProvider
public void start(Properties properties)
throws CacheException
start in interface CacheProviderproperties - current configuration settings.
CacheExceptionpublic void stop()
stop in interface CacheProviderpublic boolean isMinimalPutsEnabledByDefault()
isMinimalPutsEnabledByDefault in interface CacheProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||