Class TimerTask

  • All Implemented Interfaces:
    Direct Known Subclasses:
    BoshSendQueueTask, BoshTask, ScheduledTask

    public abstract class TimerTask
    extends java.lang.Object
    implements java.lang.Runnable
    TimerTask class is basic implementation of java.util.TimerTask class which is used with ScheduledExecutorService in AbstractMessageRecevier.
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cancel()  
      void cancel​(boolean mayInterruptIfRunning)  
      boolean isCancelled()  
      boolean isScheduled()  
      void reset​(boolean mayInterruptIfRunning)  
      void setScheduledFuture​(java.util.concurrent.ScheduledFuture<?> future)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Runnable

    • Constructor Detail

      • TimerTask

        public TimerTask()
    • Method Detail

      • setScheduledFuture

        public void setScheduledFuture​(java.util.concurrent.ScheduledFuture<?> future)
      • isScheduled

        public boolean isScheduled()
      • isCancelled

        public boolean isCancelled()
      • cancel

        public void cancel()
      • cancel

        public void cancel​(boolean mayInterruptIfRunning)
      • reset

        public void reset​(boolean mayInterruptIfRunning)