public interface CacheInstanceManager
Cache are built/obtained.| Modifier and Type | Method and Description |
|---|---|
org.jboss.cache.Cache |
getCollectionCacheInstance()
Retrieve a handle to the
Cache instance to be used for storing
collection data. |
org.jboss.cache.Cache |
getEntityCacheInstance()
Retrieve a handle to the
Cache instance to be used for storing
entity data. |
org.jboss.cache.Cache |
getQueryCacheInstance()
Retrieve a handle to the
Cache instance to be used for storing
query results. |
org.jboss.cache.Cache |
getTimestampsCacheInstance()
Retrieve a handle to the
Cache instance to be used for storing
timestamps. |
void |
start(Settings settings,
Properties properties)
Lifecycle callback to perform any necessary initialization of the
CacheInstanceManager.
|
void |
stop()
Lifecycle callback to perform any necessary cleanup of the underlying
CacheInstanceManager.
|
org.jboss.cache.Cache getEntityCacheInstance()
Cache instance to be used for storing
entity data.org.jboss.cache.Cache getCollectionCacheInstance()
Cache instance to be used for storing
collection data.org.jboss.cache.Cache getQueryCacheInstance()
Cache instance to be used for storing
query results.org.jboss.cache.Cache getTimestampsCacheInstance()
Cache instance to be used for storing
timestamps.void start(Settings settings, Properties properties) throws CacheException
SessionFactoryImpl.settings - The settings in effect.properties - The defined cfg propertiesCacheException - Indicates problems starting the L2 cache impl; considered as
a sign to stop SessionFactory building.void stop()
SessionFactory.close().Copyright © 2002-2013 Red Hat Middleware, LLC. All Rights Reserved