|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheProvider
Support for pluggable caches.
Method Summary | |
---|---|
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(). |
Method Detail |
---|
Cache buildCache(String regionName, Properties properties) throws CacheException
regionName
- the name of the cache regionproperties
- configuration settings
CacheException
long nextTimestamp()
void start(Properties properties) throws CacheException
properties
- current configuration settings.
CacheException
void stop()
boolean isMinimalPutsEnabledByDefault()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |