com.bigdata.counters
Class AbstractProcessReader
java.lang.Object
com.bigdata.counters.AbstractProcessReader
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- ProcessReaderHelper
public abstract class AbstractProcessReader
- extends Object
- implements Runnable
A Runnable that reads the output of an ActiveProcess.
- Version:
- $Id: AbstractProcessReader.java 2265 2009-10-26 12:51:06Z thompsonbry $
- Author:
- Bryan Thompson
|
Field Summary |
protected static boolean |
DEBUG
True iff the log level is DEBUG or less. |
protected static boolean |
INFO
True iff the log level is INFO or less. |
protected InputStream |
is
The InputStream from which the output of the process will be
read. |
protected static org.apache.log4j.Logger |
log
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Runnable |
run |
log
protected static final org.apache.log4j.Logger log
DEBUG
protected static final boolean DEBUG
- True iff the
log level is DEBUG or less.
INFO
protected static final boolean INFO
- True iff the
log level is INFO or less.
is
protected InputStream is
- The
InputStream from which the output of the process will be
read.
AbstractProcessReader
public AbstractProcessReader()
start
public void start(InputStream is)
- Saves a reference to the
InputStream.
- Parameters:
is - The input stream from which the output of the process will
be read.
Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.