Interface ActivationManager

All Known Implementing Classes:
ActivationManagerImpl, ActivationManagerStub

public interface ActivationManager
Controls activation of cache entries that have been passivated.
Since:
5.2
Author:
Galder ZamarreƱo
  • Method Details

    • activateAsync

      CompletionStage<Void> activateAsync(Object key, int segment)
      Activates 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.
      Parameters:
      key - key to activate
      segment - segment the key maps to
      Returns:
      stage that when complete the entry has been activated
    • getPendingActivationCount

      long getPendingActivationCount()
    • getActivationCount

      long getActivationCount()
      Get number of activations executed.
      Returns:
      A long representing the number of activations