Interface PassivationManager

    • Method Detail

      • isEnabled

        boolean isEnabled()
      • passivateAsync

        java.util.concurrent.CompletionStage<java.lang.Void> passivateAsync​(InternalCacheEntry entry)
        This method will block the current thread while passivating the entry. This should be fixed when non blocking cache stores are implemented. This method does not block while notifying listeners however.
        Parameters:
        entry - entry to passivate
        Returns:
        CompletionStage that when complete will have notified all listeners
      • skipPassivationOnStop

        void skipPassivationOnStop​(boolean skip)
        Skips the passivation when the cache is stopped.
      • getPassivations

        long getPassivations()