@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, setTimerTaskServiceisEnabled, setEnabledpublic static final String CPU_TEMP_MONITOR_EVENT_NAME
public int getCpuTempThreshold()
public Form getCurrentConfiguration()
getCurrentConfiguration in interface ConfigurableTaskgetCurrentConfiguration in class AbstractConfigurableTimerTaskprotected void run()
run in class AbstractConfigurableTimerTaskpublic void setCpuTempThreshold(Integer cpuTempThreshold)
public void setNewConfiguration(Form form)
setNewConfiguration in interface ConfigurableTasksetNewConfiguration in class AbstractConfigurableTimerTaskCopyright © 2018 "Tigase, Inc.". All rights reserved.