public class LogProcessOutputReader
extends java.lang.Object
Process process and write it to
a LogWriter using the specified
log level. The constructor does not return until all output
from the process has been read and the process has exited.| Constructor and Description |
|---|
LogProcessOutputReader(java.lang.Process p,
com.gemstone.gemfire.LogWriter log,
java.lang.String levelName,
java.lang.String prefix)
Creates a log process output reader for the given process.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getExitCode()
Gets the process's exit status code.
|
public LogProcessOutputReader(java.lang.Process p,
com.gemstone.gemfire.LogWriter log,
java.lang.String levelName,
java.lang.String prefix)
p - the process whose output should be read.log - the log writer where output should be written.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.