tigase.server.sreceiver.sysmon
Class LogMonitor

java.lang.Object
  extended by tigase.server.sreceiver.sysmon.AbstractMonitor
      extended by tigase.server.sreceiver.sysmon.LogMonitor
All Implemented Interfaces:
ResourceMonitorIfc

public class LogMonitor
extends AbstractMonitor

Created: Dec 12, 2008 8:31:38 PM

Version:
$Rev$
Author:
Artur Hefczyc

Field Summary
 
Fields inherited from class tigase.server.sreceiver.sysmon.AbstractMonitor
treshold, warningsSent
 
Fields inherited from interface tigase.server.sreceiver.sysmon.ResourceMonitorIfc
INTERVAL_10SECS, INTERVAL_1DAY, INTERVAL_1HOUR, INTERVAL_1MIN, MINUTE, SECOND
 
Constructor Summary
LogMonitor()
           
 
Method Summary
 String commandsHelp()
           
 void destroy()
           
 String getState()
           
 void getStatistics(StatisticsList list)
           
 void init(tigase.xmpp.JID jid, float treshold, SystemMonitorTask smTask)
           
 boolean isMonitorCommand(String com)
           
 String runCommand(String[] com)
           
 
Methods inherited from class tigase.server.sreceiver.sysmon.AbstractMonitor
check10Secs, check1Day, check1Hour, check1Min, prepareCalmDown, prepareWarning, resetWarnings, sendWarningOut, setValueInArr, setValueInArr
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogMonitor

public LogMonitor()
Method Detail

commandsHelp

public String commandsHelp()
Specified by:
commandsHelp in interface ResourceMonitorIfc
Overrides:
commandsHelp in class AbstractMonitor

runCommand

public String runCommand(String[] com)
Specified by:
runCommand in interface ResourceMonitorIfc
Overrides:
runCommand in class AbstractMonitor

isMonitorCommand

public boolean isMonitorCommand(String com)
Specified by:
isMonitorCommand in interface ResourceMonitorIfc
Overrides:
isMonitorCommand in class AbstractMonitor

init

public void init(tigase.xmpp.JID jid,
                 float treshold,
                 SystemMonitorTask smTask)
Specified by:
init in interface ResourceMonitorIfc
Overrides:
init in class AbstractMonitor

destroy

public void destroy()

getState

public String getState()

getStatistics

public void getStatistics(StatisticsList list)
Specified by:
getStatistics in interface ResourceMonitorIfc
Overrides:
getStatistics in class AbstractMonitor


Copyright © 2001-2006 Tigase Developers Team. All rights Reserved.