Class InterruptionTimerTask

  • All Implemented Interfaces:
    java.lang.Runnable

    public class InterruptionTimerTask
    extends NamedTimerTask
    • Constructor Detail

      • InterruptionTimerTask

        public InterruptionTimerTask​(java.lang.String descriptor,
                                     java.lang.Thread threadToBeInterrupted,
                                     java.lang.Object reason,
                                     java.lang.Runnable hookToExecutePriorToInterruption)
      • InterruptionTimerTask

        public InterruptionTimerTask​(java.lang.String descriptor,
                                     java.lang.Thread threadToBeInterrupted,
                                     java.lang.Runnable hookToExecutePriorToInterruption)
      • InterruptionTimerTask

        public InterruptionTimerTask​(java.lang.String descriptor,
                                     java.lang.Thread threadToBeInterrupted)
      • InterruptionTimerTask

        public InterruptionTimerTask​(java.lang.String descriptor,
                                     java.lang.Runnable hookToExecutePriorToInterruption)
      • InterruptionTimerTask

        public InterruptionTimerTask​(java.lang.String descriptor)
    • Method Detail

      • getThreadToBeInterrupted

        public java.lang.Thread getThreadToBeInterrupted()
      • getHookToExecutePriorToInterruption

        public java.lang.Runnable getHookToExecutePriorToInterruption()
      • run

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

        public boolean isTriggered()
      • isFinished

        public boolean isFinished()