@Bean(name="load-checker-task") public class LoadCheckerTask extends AbstractConfigurableTimerTask implements InfoTask
| Modifier and Type | Field and Description |
|---|---|
static String |
MONITOR_EVENT_NAME |
| Constructor and Description |
|---|
LoadCheckerTask() |
| Modifier and Type | Method and Description |
|---|---|
long |
getAverageLoadThreshold() |
Form |
getCurrentConfiguration() |
Form |
getTaskInfo() |
protected void |
run() |
void |
setAverageLoadThreshold(Long averageLoadThreshold) |
void |
setNewConfiguration(Form form) |
beforeUnregister, disable, enable, getPeriod, getTimerTaskService, setPeriod, setPeriod, setTimerTaskServiceisEnabled, setEnabledpublic static final String MONITOR_EVENT_NAME
public long getAverageLoadThreshold()
public Form getCurrentConfiguration()
getCurrentConfiguration in interface ConfigurableTaskgetCurrentConfiguration in class AbstractConfigurableTimerTaskpublic Form getTaskInfo()
getTaskInfo in interface InfoTaskprotected void run()
run in class AbstractConfigurableTimerTaskpublic void setAverageLoadThreshold(Long averageLoadThreshold)
public void setNewConfiguration(Form form)
setNewConfiguration in interface ConfigurableTasksetNewConfiguration in class AbstractConfigurableTimerTaskCopyright © 2017 "Tigase, Inc.". All rights reserved.