TPTP 4.4.0 Monitoring Tools Project
Internal API Specification

org.eclipse.hyades.logging.parsers.internal.importer
Class StatusMonitor

java.lang.Object
  extended byorg.eclipse.hyades.logging.parsers.internal.importer.StatusMonitor
All Implemented Interfaces:
java.lang.Runnable

public class StatusMonitor
extends java.lang.Object
implements java.lang.Runnable

This class is a runnable that checks the status of a log parser at regular intervals and sends the status to a logging agent.


Constructor Summary
StatusMonitor(java.lang.Object parser, java.lang.Class parserClass, org.apache.commons.logging.Log statusLogger)
          Constructor with required parameters
 
Method Summary
 void run()
          Run this StatusMonitor thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatusMonitor

public StatusMonitor(java.lang.Object parser,
                     java.lang.Class parserClass,
                     org.apache.commons.logging.Log statusLogger)
Constructor with required parameters

Parameters:
parser - object that is doing the log parsing
parserClass - class of the parser object
statusLogger - logging agent to write the status to
Method Detail

run

public void run()
Run this StatusMonitor thread.

Specified by:
run in interface java.lang.Runnable
See Also:
Runnable.run()

TPTP 4.4.0 Monitoring Tools Project
Internal API Specification