Class ActivationManagerStub

    • Constructor Detail

      • ActivationManagerStub

        public ActivationManagerStub()
    • Method Detail

      • activateAsync

        public CompletionStage<Void> activateAsync​(Object key,
                                                   int segment)
        Description copied from interface: ActivationManager
        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.
        Specified by:
        activateAsync in interface ActivationManager
        Parameters:
        key - key to activate
        segment - segment the key maps to
        Returns:
        stage that when complete the entry has been activated
      • getActivationCount

        public long getActivationCount()
        Description copied from interface: ActivationManager
        Get number of activations executed.
        Specified by:
        getActivationCount in interface ActivationManager
        Returns:
        A long representing the number of activations