@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, setTimerTaskService
isEnabled, setEnabled
public static final String MONITOR_EVENT_NAME
public long getAverageLoadThreshold()
public Form getCurrentConfiguration()
getCurrentConfiguration
in interface ConfigurableTask
getCurrentConfiguration
in class AbstractConfigurableTimerTask
public Form getTaskInfo()
getTaskInfo
in interface InfoTask
protected void run()
run
in class AbstractConfigurableTimerTask
public void setAverageLoadThreshold(Long averageLoadThreshold)
public void setNewConfiguration(Form form)
setNewConfiguration
in interface ConfigurableTask
setNewConfiguration
in class AbstractConfigurableTimerTask
Copyright © 2017 "Tigase, Inc.". All rights reserved.