@Bean(name="cpu-temp-task", parent=MonitorComponent.class, active=true) public class CpuTempTask extends AbstractConfigurableTimerTask implements Initializable
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() |
void |
initialize()
Method will be called, when bean will be created, configured and ready to use.
|
protected void |
run() |
void |
setCpuTempThreshold(Integer cpuTempThreshold) |
void |
setNewConfiguration(Form form) |
beforeUnregister, disable, enable, getPeriod, getTimerTaskService, setPeriod, setTimerTaskService
isEnabled, setEnabled
public static final String CPU_TEMP_MONITOR_EVENT_NAME
public int getCpuTempThreshold()
public void setCpuTempThreshold(Integer cpuTempThreshold)
public Form getCurrentConfiguration()
getCurrentConfiguration
in interface ConfigurableTask
getCurrentConfiguration
in class AbstractConfigurableTimerTask
public void initialize()
Initializable
initialize
in interface Initializable
initialize
in class AbstractConfigurableTask
public void setNewConfiguration(Form form)
setNewConfiguration
in interface ConfigurableTask
setNewConfiguration
in class AbstractConfigurableTimerTask
protected void run()
run
in class AbstractConfigurableTimerTask
Copyright © 2004–2021 "Tigase, Inc.". All rights reserved.