@Bean(name="cpu-temp-task") public class CpuTempTask extends AbstractConfigurableTimerTask
Modifier and Type | Field and Description |
---|---|
static String |
CPU_TEMP_MONITOR_EVENT_NAME |
Constructor and Description |
---|
CpuTempTask() |
Modifier and Type | Method and Description |
---|---|
int |
getCpuTempThreshold() |
Form |
getCurrentConfiguration() |
protected void |
run() |
void |
setCpuTempThreshold(Integer cpuTempThreshold) |
void |
setNewConfiguration(Form form) |
beforeUnregister, disable, enable, getPeriod, getTimerTaskService, setPeriod, setPeriod, setTimerTaskService
isEnabled, setEnabled
public static final String CPU_TEMP_MONITOR_EVENT_NAME
public int getCpuTempThreshold()
public Form getCurrentConfiguration()
getCurrentConfiguration
in interface ConfigurableTask
getCurrentConfiguration
in class AbstractConfigurableTimerTask
protected void run()
run
in class AbstractConfigurableTimerTask
public void setCpuTempThreshold(Integer cpuTempThreshold)
public void setNewConfiguration(Form form)
setNewConfiguration
in interface ConfigurableTask
setNewConfiguration
in class AbstractConfigurableTimerTask
Copyright © 2018 "Tigase, Inc.". All rights reserved.