public interface CacheProvider
Modifier and Type | Method and Description |
---|---|
Cache |
buildCache(java.lang.String regionName,
java.util.Properties properties)
Deprecated.
Configure the cache
|
boolean |
isMinimalPutsEnabledByDefault()
Deprecated.
|
long |
nextTimestamp()
Deprecated.
Generate a timestamp
|
void |
start(java.util.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(java.lang.String regionName, java.util.Properties properties) throws CacheException
regionName
- the name of the cache regionproperties
- configuration settingsCacheException
long nextTimestamp()
void start(java.util.Properties properties) throws CacheException
properties
- current configuration settings.CacheException
void stop()
boolean isMinimalPutsEnabledByDefault()
Copyright © 2013. All Rights Reserved.