public interface CacheProvider
| Modifier and Type | Method and Description |
|---|---|
Cache |
buildCache(String regionName,
Properties properties)
Deprecated.
Configure the cache
|
boolean |
isMinimalPutsEnabledByDefault()
Deprecated.
|
long |
nextTimestamp()
Deprecated.
Generate a timestamp
|
void |
start(Properties properties)
Deprecated.
Callback to perform any necessary initialization of the underlying cache implementation
during SessionFactory construction.
|
void |
stop()
Deprecated.
Callback to perform any necessary cleanup of the underlying cache implementation
during SessionFactory.close().
|
Cache buildCache(String regionName, Properties properties) throws CacheException
regionName - the name of the cache regionproperties - configuration settingsCacheExceptionlong nextTimestamp()
void start(Properties properties) throws CacheException
properties - current configuration settings.CacheExceptionvoid stop()
boolean isMinimalPutsEnabledByDefault()
Copyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved