tigase.monitor.tasks

## Class AbstractConfigurableTimerTask

- java.lang.Object
- - tigase.monitor.tasks.AbstractConfigurableTask
  - - tigase.monitor.tasks.AbstractConfigurableTimerTask

- All Implemented Interfaces:
    UnregisterAware, ConfigurableTask, MonitorTask
  Direct Known Subclasses:
    ConnectionsTask, CpuTempTask, DiskTask, LoadCheckerTask, MemoryCheckerTask, SampleTask, ScriptTimerTask

      public abstract class AbstractConfigurableTimerTask
      extends AbstractConfigurableTask
      implements UnregisterAware

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractConfigurableTimerTask()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `beforeUnregister()`
    `protected void` | `disable()`
    `protected void` | `enable()`
    `Form` | `getCurrentConfiguration()`
    `long` | `getPeriod()`
    `TimerTaskService` | `getTimerTaskService()`
    `protected abstract void` | `run()`
    `void` | `setNewConfiguration(Form form)`
    `void` | `setPeriod(long value)`
    `void` | `setPeriod(String value)`
    `void` | `setTimerTaskService(TimerTaskService timerTaskService)`

    - ### Methods inherited from class tigase.monitor.tasks.AbstractConfigurableTask

      `isEnabled, setEnabled`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AbstractConfigurableTimerTask

          public AbstractConfigurableTimerTask()

  - ### Method Detail

    - #### beforeUnregister

          public void beforeUnregister()

      Specified by:
        `beforeUnregister` in interface `UnregisterAware`
      Overrides:
        `beforeUnregister` in class `AbstractConfigurableTask`

    - #### disable

          protected void disable()

      Overrides:
        `disable` in class `AbstractConfigurableTask`

    - #### enable

          protected void enable()

      Overrides:
        `enable` in class `AbstractConfigurableTask`

    - #### getCurrentConfiguration

          public Form getCurrentConfiguration()

      Specified by:
        `getCurrentConfiguration` in interface `ConfigurableTask`
      Overrides:
        `getCurrentConfiguration` in class `AbstractConfigurableTask`

    - #### getPeriod

          public long getPeriod()

    - #### getTimerTaskService

          public TimerTaskService getTimerTaskService()

    - #### run

          protected abstract void run()

    - #### setNewConfiguration

          public void setNewConfiguration(Form form)

      Specified by:
        `setNewConfiguration` in interface `ConfigurableTask`
      Overrides:
        `setNewConfiguration` in class `AbstractConfigurableTask`

    - #### setPeriod

          public void setPeriod(long value)

    - #### setPeriod

          public void setPeriod(String value)

    - #### setTimerTaskService

          public void setTimerTaskService(TimerTaskService timerTaskService)

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