Class InterruptTimer.AlarmState

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    InterruptTimer

    static final class InterruptTimer.AlarmState
    extends java.lang.Object
    implements java.lang.Runnable
    • Constructor Summary

      Constructors 
      Constructor Description
      AlarmState()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void begin​(int timeout)  
      (package private) void end()  
      private static long now()  
      void run()  
      (package private) void terminate()  
      • Methods inherited from class java.lang.Object

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

      • callingThread

        private java.lang.Thread callingThread
      • deadline

        private long deadline
      • terminated

        private boolean terminated
    • Constructor Detail

      • AlarmState

        AlarmState()
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • begin

        void begin​(int timeout)
      • end

        void end()
      • terminate

        void terminate()
      • now

        private static long now()