Class Delayer.Resetter

java.lang.Object
de.aristaflow.adept2.util.threading.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 Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final T
    The element for which to reset the try count.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Resetter(T element)
    Creates a new resetting runnable for the designated element.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • element

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

    • 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 Details

    • run

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