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