com.bigdata.counters
Class AbstractProcessReader

java.lang.Object
  extended by 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 2547 2010-03-24 20:44:07Z thompsonbry $
Author:
Bryan Thompson

Field Summary
protected  InputStream is
          The InputStream from which the output of the process will be read.
protected static org.apache.log4j.Logger log
           
 
Constructor Summary
AbstractProcessReader()
           
 
Method Summary
 void start(InputStream is)
          Saves a reference to the InputStream.
 
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
 

Field Detail

log

protected static final org.apache.log4j.Logger log

is

protected InputStream is
The InputStream from which the output of the process will be read.

Constructor Detail

AbstractProcessReader

public AbstractProcessReader()
Method Detail

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-2012 SYSTAP, LLC. All Rights Reserved.