org.infinispan.eviction
Class EvictionManagerImpl

java.lang.Object
  extended by org.infinispan.eviction.EvictionManagerImpl
All Implemented Interfaces:
EvictionManager

@ThreadSafe
public class EvictionManagerImpl
extends Object
implements EvictionManager


Constructor Summary
EvictionManagerImpl()
           
 
Method Summary
 void initialize(ScheduledExecutorService executor, Configuration configuration, DataContainer dataContainer, CacheLoaderManager cacheLoaderManager, CacheNotifier cacheNotifier, LockManager lockManager, PassivationManager passivator, InvocationContextContainer ctxContainer)
           
 boolean isEnabled()
           
 void postEvict(Object key, InternalCacheEntry value)
           
 void preEvict(Object key)
           
 void processEviction()
          Processes the eviction event queue.
 void releaseLock(Object key)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvictionManagerImpl

public EvictionManagerImpl()
Method Detail

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)

Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.