@Deprecated
public JmxPolicy(boolean startJmxHttpServer,
@NotNull
PortAllocation jmxHttpServerPortAllocation)
A class containing configuration information for Jolokia JMX, to be used when creating a node via the driver.
startJmxHttpServer - Indicates whether the spawned nodes should start with a Jolokia JMX agent to enable remoteJMX monitoring using HTTP/JSON.jmxHttpServerPortAllocation - The port allocation strategy to use for remote Jolokia/JMX monitoring over HTTP.Defaults to incremental from port 7005. Use NodeHandle.jmxAddress to get the assigned address.driver@Deprecated public JmxPolicy()
public JmxPolicy(@NotNull
PortAllocation jmxHttpServerPortAllocation)
Create a class JmxPolicy that turns on monitoring using the given class PortAllocation.
class JmxPolicy,
class PortAllocationpublic boolean getStartJmxHttpServer()
Indicates whether the spawned nodes should start with a Jolokia JMX agent to enable remote
JMX monitoring using HTTP/JSON.
@NotNull public PortAllocation getJmxHttpServerPortAllocation()
The port allocation strategy to use for remote Jolokia/JMX monitoring over HTTP.
Defaults to incremental from port 7005. Use NodeHandle.jmxAddress to get the assigned address.
NodeHandle.jmxAddresspublic boolean component1()
Indicates whether the spawned nodes should start with a Jolokia JMX agent to enable remote
JMX monitoring using HTTP/JSON.
@NotNull public PortAllocation component2()
The port allocation strategy to use for remote Jolokia/JMX monitoring over HTTP.
Defaults to incremental from port 7005. Use NodeHandle.jmxAddress to get the assigned address.
NodeHandle.jmxAddress@NotNull public JmxPolicy copy(boolean startJmxHttpServer, @NotNull PortAllocation jmxHttpServerPortAllocation)
A class containing configuration information for Jolokia JMX, to be used when creating a node via the driver.
driver@NotNull public java.lang.String toString()
A class containing configuration information for Jolokia JMX, to be used when creating a node via the driver.
driverpublic int hashCode()
A class containing configuration information for Jolokia JMX, to be used when creating a node via the driver.
driverpublic boolean equals(@Nullable
java.lang.Object p)
A class containing configuration information for Jolokia JMX, to be used when creating a node via the driver.
driver@JvmStatic @NotNull public static JmxPolicy defaultEnabled()
Returns a default class JmxPolicy that turns on monitoring.
class JmxPolicy