ehcache

net.sf.ehcache
Interface FeaturesManager


public interface FeaturesManager

Interface implemented by classes providing access to extended functionality.

Author:
Chris Dennis

Field Summary
static String ENTERPRISE_FM_CLASSNAME
          Fully qualified classname of the enterprise features manager
 
Method Summary
 SoftLockManager createSoftLockManager(Ehcache cache, SoftLockFactory lockFactory)
          Create a soft-lock map for the given cache
 Store createStore(Cache cache, Pool onHeapPool, Pool onDiskPool)
          Create a store for the given cache.
 TransactionIDFactory createTransactionIDFactory()
          Create a transaction map for the associated cache manager
 UpdateChecker createUpdateChecker()
          Create update checker
 WriteBehind createWriteBehind(Cache cache)
          Create a WriteBehind instance for the given cache.
 void dispose()
          Called on CacheManager shutdown and on exception during CacheManager bootstrapping.
 void startup()
          Called on CacheManager creation.
 

Field Detail

ENTERPRISE_FM_CLASSNAME

static final 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 for
onHeapPool - on-heap pool
onDiskPool - 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 on CacheManager creation.


dispose

void dispose()
Called on CacheManager shutdown and on exception during CacheManager bootstrapping.


createUpdateChecker

UpdateChecker createUpdateChecker()
Create update checker

Returns:
UpdateChecker instance

ehcache

Copyright 2001-2014, Terracotta, Inc.