Package tigase.util.common

# Class TimerTask

java.lang.Object
tigase.util.common.TimerTask

All Implemented Interfaces:
  `Runnable`

Direct Known Subclasses:
  `BoshSendQueueTask`, `BoshTask`, `ScheduledTask`

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
  Description
  `TimerTask()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `cancel()`
  `void`
  `cancel(boolean mayInterruptIfRunning)`
  `boolean`
  `isCancelled()`
  `boolean`
  `isScheduled()`
  `void`
  `reset(boolean mayInterruptIfRunning)`
  `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 Details

  - ### TimerTask

    public TimerTask()

- ## Method Details

  - ### setScheduledFuture

    public void setScheduledFuture(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)