Jmx Policy
data class JmxPolicy constructor(val startJmxHttpServer: Boolean = false, val jmxHttpServerPortAllocation: PortAllocation = incrementalPortAllocation())
A class containing configuration information for Jolokia JMX, to be used when creating a node via the driver.
Constructors
Link copied to clipboard
constructor()
Create a JmxPolicy that turns on monitoring using the given PortAllocation.
constructor(startJmxHttpServer: Boolean = false, jmxHttpServerPortAllocation: PortAllocation = incrementalPortAllocation())
Properties
Link copied to clipboard
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.
Link copied to clipboard
Indicates whether the spawned nodes should start with a Jolokia JMX agent to enable remote JMX monitoring using HTTP/JSON.