Package org.infinispan.eviction.impl
Class ActivationManagerImpl
- java.lang.Object
- 
- org.infinispan.eviction.impl.ActivationManagerImpl
 
- 
- All Implemented Interfaces:
- ActivationManager
 
 public class ActivationManagerImpl extends Object implements ActivationManager Concrete implementation of activation logic manager.- Since:
- 5.2
- Author:
- Galder ZamarreƱo
 
- 
- 
Constructor SummaryConstructors Constructor Description ActivationManagerImpl()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetActivationCount()Get number of activations executed.StringgetActivations()voidonRemove(Object key, boolean newEntry)Remove key and associated value from cache store and update the activation counter.voidonUpdate(Object key, boolean newEntry)Remove key and associated value from cache store and update the activation counter.voidresetStatistics()voidstart()
 
- 
- 
- 
Method Detail- 
startpublic void start() 
 - 
onUpdatepublic void onUpdate(Object key, boolean newEntry) Description copied from interface:ActivationManagerRemove key and associated value from cache store and update the activation counter.- Specified by:
- onUpdatein interface- ActivationManager
- Parameters:
- key- Key to remove
- newEntry-- trueif the entry does not exists in-memory
 
 - 
onRemovepublic void onRemove(Object key, boolean newEntry) Description copied from interface:ActivationManagerRemove key and associated value from cache store and update the activation counter. The key is also removed from the shared configured stores.- Specified by:
- onRemovein interface- ActivationManager
- Parameters:
- key- Key to activate
- newEntry-- trueif the entry does not exists in-memory
 
 - 
getActivationCountpublic long getActivationCount() Description copied from interface:ActivationManagerGet number of activations executed.- Specified by:
- getActivationCountin interface- ActivationManager
- Returns:
- A long representing the number of activations
 
 - 
getActivationspublic String getActivations() 
 - 
resetStatisticspublic void resetStatistics() 
 
- 
 
-