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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### TimerTask

          public TimerTask()

  - ### Method Detail

    - #### 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)

Copyright © 2004–2019 "Tigase, Inc.". All rights reserved.