public class NoCacheProvider extends java.lang.Object implements CacheProvider
| Constructor and Description |
|---|
NoCacheProvider() |
| Modifier and Type | Method and Description |
|---|---|
Cache |
buildCache(java.lang.String regionName,
java.util.Properties properties)
Configure the cache
|
boolean |
isMinimalPutsEnabledByDefault() |
long |
nextTimestamp()
Generate a timestamp
|
void |
start(java.util.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().
|
public Cache buildCache(java.lang.String regionName, java.util.Properties properties) throws CacheException
buildCache in interface CacheProviderregionName - the name of the cache regionproperties - configuration settingsCacheExceptionpublic long nextTimestamp()
nextTimestamp in interface CacheProviderpublic void start(java.util.Properties properties)
throws CacheException
start in interface CacheProviderproperties - current configuration settings.CacheExceptionpublic void stop()
stop in interface CacheProviderpublic boolean isMinimalPutsEnabledByDefault()
isMinimalPutsEnabledByDefault in interface CacheProviderCopyright © 2013. All Rights Reserved.