public final class ForkedJvmInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
forkedJvmCount
The number of executed forked JVMs, total.
|
int |
id
Unique sequential identifier.
|
| Constructor and Description |
|---|
ForkedJvmInfo(int id,
int forkedJvmCount) |
| Modifier and Type | Method and 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 forked JVM. |
java.lang.String |
getCommandLine()
Command line string used to invoke the forked JVM
|
java.lang.String |
getJvmName()
JVM name.
|
java.lang.String |
getPidString()
PID string of the forked JVM.
|
java.util.Map<java.lang.String,java.lang.String> |
getSystemProperties()
System properties on the forked JVM.
|
void |
serialize(JsonWriter w) |
public final int id
public final int forkedJvmCount
public java.nio.charset.Charset getCharset()
Charset used to encode stream bytes from the forked JVM.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–2022 Carrot Search s.c.. All rights reserved.