public class LogMonitor extends AbstractMonitor
treshold, warningsSentINTERVAL_10SECS, INTERVAL_1DAY, INTERVAL_1HOUR, INTERVAL_1MIN, MINUTE, SECOND| Constructor and Description |
|---|
LogMonitor() |
| Modifier and Type | Method and Description |
|---|---|
String |
commandsHelp() |
void |
destroy() |
String |
getState() |
void |
getStatistics(StatisticsList list) |
void |
init(JID jid,
float treshold,
SystemMonitorTask smTask) |
boolean |
isMonitorCommand(String com) |
String |
runCommand(String[] com) |
check10Secs, check1Day, check1Hour, check1Min, prepareCalmDown, prepareWarning, resetWarnings, sendWarningOut, setValueInArr, setValueInArrpublic String commandsHelp()
commandsHelp in interface ResourceMonitorIfccommandsHelp in class AbstractMonitorpublic String runCommand(String[] com)
runCommand in interface ResourceMonitorIfcrunCommand in class AbstractMonitorpublic boolean isMonitorCommand(String com)
isMonitorCommand in interface ResourceMonitorIfcisMonitorCommand in class AbstractMonitorpublic void init(JID jid, float treshold, SystemMonitorTask smTask)
init in interface ResourceMonitorIfcinit in class AbstractMonitorpublic void destroy()
public String getState()
public void getStatistics(StatisticsList list)
getStatistics in interface ResourceMonitorIfcgetStatistics in class AbstractMonitorCopyright © 2018 "Tigase, Inc.". All rights reserved.