public class NoCacheProvider extends Object implements CacheProvider
| Constructor and Description |
|---|
NoCacheProvider() |
| Modifier and Type | Method and Description |
|---|---|
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().
|
public Cache buildCache(String regionName, Properties properties) throws CacheException
buildCache in interface CacheProviderregionName - the name of the cache regionproperties - configuration settingsCacheExceptionpublic long nextTimestamp()
nextTimestamp in interface CacheProviderpublic 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 CacheProviderCopyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved