public final class SlaveInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
id
Unique sequential slave identifier.
|
int |
slaves
The number of executed slaves, total.
|
| Constructor and Description |
|---|
SlaveInfo(int id,
int slaves) |
| Modifier and Type | Method and Description |
|---|---|
void |
decodeStreams(List<IEvent> events,
Writer sysout,
Writer syserr)
Filter through events looking for sysouts and syserrs and decode them
into a character streams.
|
Charset |
getCharset()
Return the
Charset used to encode stream bytes from the slave. |
String |
getCommandLine()
Command line string used to invoke the slave.
|
String |
getJvmName()
JVM name (slave).
|
String |
getPidString()
PID string of the forked JVM.
|
Map<String,String> |
getSystemProperties()
System properties on the slave.
|
public final int id
public final int slaves
public Charset getCharset()
Charset used to encode stream bytes from the slave.public String getPidString()
public String getCommandLine()
public String getJvmName()
public void decodeStreams(List<IEvent> events, Writer sysout, Writer syserr) throws IOException
Writer arguments are the same object
the streams will be combined.IOExceptionCopyright © 2011-2013 Carrot Search s.c.. All Rights Reserved.