org.infinispan.eviction
Class EvictionManagerImpl
java.lang.Object
org.infinispan.eviction.EvictionManagerImpl
- All Implemented Interfaces:
- EvictionManager
@ThreadSafe
public class EvictionManagerImpl
- extends Object
- implements EvictionManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EvictionManagerImpl
public EvictionManagerImpl()
initialize
public void initialize(ScheduledExecutorService executor,
Configuration configuration,
DataContainer dataContainer,
CacheLoaderManager cacheLoaderManager,
CacheNotifier cacheNotifier,
LockManager lockManager,
PassivationManager passivator,
InvocationContextContainer ctxContainer)
start
public void start()
processEviction
public void processEviction()
- Description copied from interface:
EvictionManager
- Processes the eviction event queue.
- Specified by:
processEviction
in interface EvictionManager
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interface EvictionManager
- Returns:
- true if eviction is enabled, false otherwise
stop
public void stop()
preEvict
public void preEvict(Object key)
- Specified by:
preEvict
in interface EvictionManager
postEvict
public void postEvict(Object key,
InternalCacheEntry value)
- Specified by:
postEvict
in interface EvictionManager
releaseLock
public final void releaseLock(Object key)
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.