tigase.util

## Class TimerTask

- java.lang.Object
- - tigase.util.TimerTask

- All Implemented Interfaces:
    Runnable
  Direct Known Subclasses:
    BoshSendQueueTask, BoshTask

      public abstract class TimerTask
      extends Object
      implements Runnable

  TimerTask class is basic implementation of java.util.TimerTask class which is used with ScheduledExecutorService in AbstractMessageRecevier.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TimerTask()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `cancel()`
    `boolean` | `isScheduled()`
    `void` | `setScheduledFuture(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

      `run`

- - ### Constructor Detail

    - #### TimerTask

          public TimerTask()

  - ### Method Detail

    - #### setScheduledFuture

          public void setScheduledFuture(ScheduledFuture<?> future)

    - #### isScheduled

          public boolean isScheduled()

    - #### cancel

          public void cancel()

Copyright © 2013 Tigase. All rights reserved.