Class AbstractPruneStrategy.AbstractBuilder<B,​T extends AbstractPruneStrategy>

    • Constructor Detail

      • AbstractBuilder

        protected AbstractBuilder​(T t)
        Creates a new abstract builder.
        Parameters:
        t - validator to build
    • Method Detail

      • self

        protected abstract B self()
        Returns this builder.
        Returns:
        builder
      • period

        public B period​(Duration period)
        Sets the prune period.
        Parameters:
        period - to set
        Returns:
        this builder
      • build

        public T build()
        Returns the prune strategy.
        Returns:
        prune strategy