public class MemMonitor extends AbstractMonitor implements NotificationListener
treshold, warningsSent
INTERVAL_10SECS, INTERVAL_1DAY, INTERVAL_1HOUR, INTERVAL_1MIN, MINUTE, SECOND
Constructor and Description |
---|
MemMonitor() |
Modifier and Type | Method and Description |
---|---|
void |
check1Min(Queue<Packet> results) |
void |
destroy() |
String |
getState() |
void |
getStatistics(StatisticsList list) |
void |
handleNotification(Notification note,
Object handback) |
void |
init(JID jid,
float treshold,
SystemMonitorTask smTask) |
check10Secs, check1Day, check1Hour, commandsHelp, isMonitorCommand, prepareCalmDown, prepareWarning, resetWarnings, runCommand, sendWarningOut, setValueInArr, setValueInArr
public void destroy()
destroy
in interface ResourceMonitorIfc
public void init(JID jid, float treshold, SystemMonitorTask smTask)
init
in interface ResourceMonitorIfc
init
in class AbstractMonitor
public void handleNotification(Notification note, Object handback)
handleNotification
in interface NotificationListener
public String getState()
getState
in interface ResourceMonitorIfc
public void getStatistics(StatisticsList list)
getStatistics
in interface ResourceMonitorIfc
getStatistics
in class AbstractMonitor
public void check1Min(Queue<Packet> results)
check1Min
in interface ResourceMonitorIfc
check1Min
in class AbstractMonitor
Copyright © 2018 "Tigase, Inc.". All rights reserved.