Class TimerOnce


  • public class TimerOnce
    extends java.lang.Object
    Created by pfms on 08/05/15.
    • Constructor Summary

      Constructors 
      Constructor Description
      TimerOnce​(java.lang.Runnable command, java.lang.String name)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cancel()  
      long getFireIn()  
      void startIn​(long fireIn)  
      void teardown()  
      • Methods inherited from class java.lang.Object

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

      • TimerOnce

        public TimerOnce​(java.lang.Runnable command,
                         java.lang.String name)
    • Method Detail

      • startIn

        public void startIn​(long fireIn)
      • getFireIn

        public long getFireIn()
      • cancel

        public void cancel()
      • teardown

        public void teardown()