org.hibernate.cache
Class NoCacheProvider
java.lang.Object
org.hibernate.cache.NoCacheProvider
- CacheProvider
public class NoCacheProvider
extends java.lang.Object
Implementation of NoCacheProvider.
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().
|
buildCache
public Cache buildCache(String regionName,
Properties properties)
throws CacheException
Configure the cache
- buildCache in interface CacheProvider
regionName
- the name of the cache regionproperties
- configuration settings
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