@ThreadSafe public class EvictionManagerImpl extends Object implements EvictionManager
Constructor and Description |
---|
EvictionManagerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(ScheduledExecutorService executor,
Configuration configuration,
DataContainer dataContainer,
CacheLoaderManager cacheLoaderManager,
CacheNotifier cacheNotifier) |
boolean |
isEnabled() |
void |
onEntryEviction(Map<Object,InternalCacheEntry> evicted) |
void |
processEviction()
Processes the eviction event queue.
|
void |
start() |
void |
stop() |
public void initialize(ScheduledExecutorService executor, Configuration configuration, DataContainer dataContainer, CacheLoaderManager cacheLoaderManager, CacheNotifier cacheNotifier)
public void start()
public void processEviction()
EvictionManager
processEviction
in interface EvictionManager
public boolean isEnabled()
isEnabled
in interface EvictionManager
public void stop()
public void onEntryEviction(Map<Object,InternalCacheEntry> evicted)
onEntryEviction
in interface EvictionManager
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.