public static enum AgentOptions.OutputMode extends Enum<AgentOptions.OutputMode>
AgentOptions.OUTPUT
.Enum Constant and Description |
---|
file
Value for the
AgentOptions.OUTPUT parameter: At VM
termination execution data is written to the file specified by
AgentOptions.DESTFILE . |
none
Value for the
AgentOptions.OUTPUT parameter: Do not produce
any output. |
tcpclient
Value for the
AgentOptions.OUTPUT parameter: At startup the
agent connects to a TCP port specified by the
AgentOptions.ADDRESS and AgentOptions.PORT attribute. |
tcpserver
Value for the
AgentOptions.OUTPUT parameter: The agent
listens for incoming connections on a TCP port specified by
AgentOptions.ADDRESS and AgentOptions.PORT . |
Modifier and Type | Method and Description |
---|---|
static AgentOptions.OutputMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentOptions.OutputMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentOptions.OutputMode file
AgentOptions.OUTPUT
parameter: At VM
termination execution data is written to the file specified by
AgentOptions.DESTFILE
.public static final AgentOptions.OutputMode tcpserver
AgentOptions.OUTPUT
parameter: The agent
listens for incoming connections on a TCP port specified by
AgentOptions.ADDRESS
and AgentOptions.PORT
.public static final AgentOptions.OutputMode tcpclient
AgentOptions.OUTPUT
parameter: At startup the
agent connects to a TCP port specified by the
AgentOptions.ADDRESS
and AgentOptions.PORT
attribute.public static final AgentOptions.OutputMode none
AgentOptions.OUTPUT
parameter: Do not produce
any output.public static AgentOptions.OutputMode[] values()
for (AgentOptions.OutputMode c : AgentOptions.OutputMode.values()) System.out.println(c);
public static AgentOptions.OutputMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022. All rights reserved.