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 CompletionStage<Void>activateAsync(Object key, int segment)Activates an entry, effectively removing it from the underlying persistence store.longgetActivationCount()Get number of activations executed.longgetPendingActivationCount()
-
-
-
Method Detail
-
activateAsync
public CompletionStage<Void> activateAsync(Object key, int segment)
Description copied from interface:ActivationManagerActivates an entry, effectively removing it from the underlying persistence store. Note that the removal may be done asynchronously and when the returned Stage is complete the removal is also completed.- Specified by:
activateAsyncin interfaceActivationManager- Parameters:
key- key to activatesegment- segment the key maps to- Returns:
- stage that when complete the entry has been activated
-
getPendingActivationCount
public long getPendingActivationCount()
- Specified by:
getPendingActivationCountin interfaceActivationManager
-
getActivationCount
public long getActivationCount()
Description copied from interface:ActivationManagerGet number of activations executed.- Specified by:
getActivationCountin interfaceActivationManager- Returns:
- A long representing the number of activations
-
-