Package net.sf.ehcache
Interface FeaturesManager
-
public interface FeaturesManagerInterface implemented by classes providing access to extended functionality.- Author:
- Chris Dennis
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringENTERPRISE_FM_CLASSNAMEFully qualified classname of the enterprise features manager
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SoftLockManagercreateSoftLockManager(Ehcache cache, SoftLockFactory lockFactory)Create a soft-lock map for the given cacheStorecreateStore(Cache cache, Pool onHeapPool, Pool onDiskPool)Create a store for the given cache.TransactionIDFactorycreateTransactionIDFactory()Create a transaction map for the associated cache managerWriteBehindcreateWriteBehind(Cache cache)Create a WriteBehind instance for the given cache.voiddispose()Called onCacheManagershutdown and on exception during CacheManager bootstrapping.voidstartup()Called onCacheManagercreation.
-
-
-
Field Detail
-
ENTERPRISE_FM_CLASSNAME
static final java.lang.String ENTERPRISE_FM_CLASSNAME
Fully qualified classname of the enterprise features manager- See Also:
- Constant Field Values
-
-
Method Detail
-
createWriteBehind
WriteBehind createWriteBehind(Cache cache)
Create a WriteBehind instance for the given cache.- Parameters:
cache- cache to create write behind for- Returns:
- a write behind instance
-
createStore
Store createStore(Cache cache, Pool onHeapPool, Pool onDiskPool)
Create a store for the given cache.- Parameters:
cache- cache to create a store foronHeapPool- on-heap poolonDiskPool- on-disk pool- Returns:
- a store for the given cache
-
createTransactionIDFactory
TransactionIDFactory createTransactionIDFactory()
Create a transaction map for the associated cache manager- Returns:
- a transaction map for the cache manager
-
createSoftLockManager
SoftLockManager createSoftLockManager(Ehcache cache, SoftLockFactory lockFactory)
Create a soft-lock map for the given cache- Returns:
- a soft-lcok map for the given cache
-
startup
void startup()
Called onCacheManagercreation.
-
dispose
void dispose()
Called onCacheManagershutdown and on exception during CacheManager bootstrapping.
-
-