Package org.infinispan.eviction.impl
Class ActivationManagerStub
- java.lang.Object
-
- org.infinispan.eviction.impl.ActivationManagerStub
-
- All Implemented Interfaces:
ActivationManager
public class ActivationManagerStub extends Object implements ActivationManager
- Author:
- Radim Vansa <rvansa@redhat.com>
-
-
Constructor Summary
Constructors Constructor Description ActivationManagerStub()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getActivationCount()
Get number of activations executed.void
onRemove(Object key, boolean newEntry)
Remove key and associated value from cache store and update the activation counter.void
onUpdate(Object key, boolean newEntry)
Remove key and associated value from cache store and update the activation counter.
-
-
-
Method Detail
-
onUpdate
public void onUpdate(Object key, boolean newEntry)
Description copied from interface:ActivationManager
Remove key and associated value from cache store and update the activation counter.- Specified by:
onUpdate
in interfaceActivationManager
- Parameters:
key
- Key to removenewEntry
-true
if the entry does not exists in-memory
-
onRemove
public void onRemove(Object key, boolean newEntry)
Description copied from interface:ActivationManager
Remove key and associated value from cache store and update the activation counter. The key is also removed from the shared configured stores.- Specified by:
onRemove
in interfaceActivationManager
- Parameters:
key
- Key to activatenewEntry
-true
if the entry does not exists in-memory
-
getActivationCount
public long getActivationCount()
Description copied from interface:ActivationManager
Get number of activations executed.- Specified by:
getActivationCount
in interfaceActivationManager
- Returns:
- A long representing the number of activations
-
-