data class JmxPolicy
A class containing configuration information for Jolokia JMX, to be used when creating a node via the driver.
JmxPolicy() JmxPolicy(jmxHttpServerPortAllocation: PortAllocation)
Create a JmxPolicy that turns on monitoring using the given PortAllocation. JmxPolicy(startJmxHttpServer: Boolean = false, jmxHttpServerPortAllocation: PortAllocation = incrementalPortAllocation())
A class containing configuration information for Jolokia JMX, to be used when creating a node via the driver. |
val jmxHttpServerPortAllocation: PortAllocation
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. |
|
val startJmxHttpServer: Boolean
Indicates whether the spawned nodes should start with a Jolokia JMX agent to enable remote JMX monitoring using HTTP/JSON. |
fun defaultEnabled(): JmxPolicy
Returns a default JmxPolicy that turns on monitoring. |
fun Any.contextLogger(): <ERROR CLASS>
When called from a companion object, returns the logger for the enclosing class. |