Class InterruptTask<E,​X extends java.lang.Exception>

  • All Implemented Interfaces:
    java.lang.Runnable

    class InterruptTask<E,​X extends java.lang.Exception>
    extends java.util.TimerTask
    TimerTask that keeps a weak reference to the supplied iteration and when activated, interrupts it.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class java.util.TimerTask

        cancel, scheduledExecutionTime
      • Methods inherited from class java.lang.Object

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

      • iterationRef

        private final java.lang.ref.WeakReference<TimeLimitIteration<E,​X extends java.lang.Exception>> iterationRef
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
        Specified by:
        run in class java.util.TimerTask