org.apache.lokahi.core.agent.dao
Class ProcessMonitor

java.lang.Object
  extended by org.apache.lokahi.core.agent.dao.ProcessMonitor
All Implemented Interfaces:
Monitor

public class ProcessMonitor
extends java.lang.Object
implements Monitor

Version:
$Id: ProcessMonitor.java,v 1.1 2006/03/02 19:19:40 drtobes Exp $
Author:
Stephen Toback

Constructor Summary
ProcessMonitor(MonitoredProcess p)
           
 
Method Summary
 void check()
           
 MonitoredProcess getProcess()
           
 void refresh()
           
 boolean shouldRestartProc()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessMonitor

public ProcessMonitor(MonitoredProcess p)
Method Detail

check

public void check()
Specified by:
check in interface Monitor

refresh

public void refresh()
Specified by:
refresh in interface Monitor

shouldRestartProc

public boolean shouldRestartProc()
Specified by:
shouldRestartProc in interface Monitor

getProcess

public MonitoredProcess getProcess()
Specified by:
getProcess in interface Monitor