Class Delayer.Resetter

  • All Implemented Interfaces:
    Runnable
    Enclosing class:
    Delayer<T>

    protected class Delayer.Resetter
    extends Object
    implements Runnable
    A runnable for resetting the try count and thus remove all delays.
    Author:
    Ulrich Kreher
    • Field Detail

      • element

        protected final T element
        The element for which to reset the try count.
    • Constructor Detail

      • Resetter

        protected Resetter​(T element)
        Creates a new resetting runnable for the designated element.
        Parameters:
        element - The element for which to reset the try count.
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface Runnable