Top Description Fields Methods
net.sf.ehcache

public Interface FeaturesManager

Imports
net.sf.ehcache.pool.Pool, net.sf.ehcache.store.Store, net.sf.ehcache.transaction.SoftLockFactory, .SoftLockManager, .TransactionIDFactory, net.sf.ehcache.writer.writebehind.WriteBehind

Interface implemented by classes providing access to extended functionality.
Author
Chris Dennis

Field Summary

Modifier and TypeField and Description
public static final String
ENTERPRISE_FM_CLASSNAME

Fully qualified classname of the enterprise features manager

Method Summary

Modifier and TypeMethod and Description
public SoftLockManager

Returns:

a soft-lcok map for the given cache
createSoftLockManager
(Ehcache cache, SoftLockFactory lockFactory)

Create a soft-lock map for the given cache

public Store

Returns:

a store for the given cache
createStore
(Cache
cache to create a store for
cache
,
Pool
on-heap pool
onHeapPool
,
Pool
on-disk pool
onDiskPool
)

Create a store for the given cache.

public TransactionIDFactory

Returns:

a transaction map for the cache manager
createTransactionIDFactory
()

Create a transaction map for the associated cache manager

public WriteBehind

Returns:

a write behind instance
createWriteBehind
(Cache
cache to create write behind for
cache
)

Create a WriteBehind instance for the given cache.

public void
dispose()

Called on CacheManager shutdown and on exception during CacheManager bootstrapping.

public void
startup()

Called on CacheManager creation.

Field Detail

ENTERPRISE_FM_CLASSNAMEback to summary
public static final String ENTERPRISE_FM_CLASSNAME

Fully qualified classname of the enterprise features manager

Method Detail

createSoftLockManagerback to summary
public SoftLockManager createSoftLockManager(Ehcache cache, SoftLockFactory lockFactory)

Create a soft-lock map for the given cache

Returns:SoftLockManager

a soft-lcok map for the given cache

createStoreback to summary
public Store createStore(Cache cache, Pool onHeapPool, Pool onDiskPool)

Create a store for the given cache.

Parameters
cache:Cache

cache to create a store for

onHeapPool:Pool

on-heap pool

onDiskPool:Pool

on-disk pool

Returns:Store

a store for the given cache

createTransactionIDFactoryback to summary
public TransactionIDFactory createTransactionIDFactory()

Create a transaction map for the associated cache manager

Returns:TransactionIDFactory

a transaction map for the cache manager

createWriteBehindback to summary
public WriteBehind createWriteBehind(Cache cache)

Create a WriteBehind instance for the given cache.

Parameters
cache:Cache

cache to create write behind for

Returns:WriteBehind

a write behind instance

disposeback to summary
public void dispose()

Called on CacheManager shutdown and on exception during CacheManager bootstrapping.

startupback to summary
public void startup()

Called on CacheManager creation.