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

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `cancel()`
    `void` | `cancel(boolean mayInterruptIfRunning)`
    `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()

    - #### cancel

          public void cancel(boolean mayInterruptIfRunning)

Copyright © 2017 "Tigase, Inc.". All rights reserved.