Class AbstractPruneStrategy

    • Field Detail

      • DEFAULT_PRUNE_PERIOD

        protected static final Duration DEFAULT_PRUNE_PERIOD
        Default prune period in seconds. Value is 5 minutes.
      • logger

        protected final Logger logger
        Logger for this class.
      • prunePeriod

        private Duration prunePeriod
        Prune period.
    • Constructor Detail

      • AbstractPruneStrategy

        public AbstractPruneStrategy()
    • Method Detail

      • getPrunePeriod

        public Duration getPrunePeriod()
        Description copied from interface: PruneStrategy
        Returns the interval at which the prune task will be executed.
        Specified by:
        getPrunePeriod in interface PruneStrategy
        Returns:
        prune period
      • setPrunePeriod

        public void setPrunePeriod​(Duration period)
        Sets the prune period.
        Parameters:
        period - to set