tigase.monitor.tasks

## Class CpuTempTask

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

- All Implemented Interfaces:
    UnregisterAware, ConfigurableTask, MonitorTask

      @Bean(name="cpu-temp-task")
      public class CpuTempTask
      extends AbstractConfigurableTimerTask

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `CPU_TEMP_MONITOR_EVENT_NAME`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `CpuTempTask()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getCpuTempThreshold()`
    `Form` | `getCurrentConfiguration()`
    `protected void` | `run()`
    `void` | `setCpuTempThreshold(Integer cpuTempThreshold)`
    `void` | `setNewConfiguration(Form form)`

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

      `beforeUnregister, disable, enable, getPeriod, getTimerTaskService, setPeriod, setPeriod, setTimerTaskService`

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

- - ### Field Detail

    - #### CPU_TEMP_MONITOR_EVENT_NAME

          public static final String CPU_TEMP_MONITOR_EVENT_NAME

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### CpuTempTask

          public CpuTempTask()

  - ### Method Detail

    - #### getCpuTempThreshold

          public int getCpuTempThreshold()

    - #### getCurrentConfiguration

          public Form getCurrentConfiguration()

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

    - #### run

          protected void run()

      Specified by:
        `run` in class `AbstractConfigurableTimerTask`

    - #### setCpuTempThreshold

          public void setCpuTempThreshold(Integer cpuTempThreshold)

    - #### setNewConfiguration

          public void setNewConfiguration(Form form)

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

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