Class ActivationManagerImpl

  • All Implemented Interfaces:
    ActivationManager

    public class ActivationManagerImpl
    extends Object
    implements ActivationManager
    Concrete implementation of activation logic manager.
    Since:
    5.2
    Author:
    Galder ZamarreƱo
    • Constructor Detail

      • ActivationManagerImpl

        public ActivationManagerImpl()
    • Method Detail

      • start

        public void start()
      • 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 interface ActivationManager
        Parameters:
        key - Key to remove
        newEntry - 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 interface ActivationManager
        Parameters:
        key - Key to activate
        newEntry - 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 interface ActivationManager
        Returns:
        A long representing the number of activations
      • getActivations

        public String getActivations()
      • resetStatistics

        public void resetStatistics()