corda / net.corda.testing.driver / JmxPolicy

JmxPolicy

data class JmxPolicy

A class containing configuration information for Jolokia JMX, to be used when creating a node via the driver

Constructors

<init>

JmxPolicy(startJmxHttpServer: Boolean = false, jmxHttpServerPortAllocation: PortAllocation? = if (startJmxHttpServer) PortAllocation.Incremental(7005) else null)

A class containing configuration information for Jolokia JMX, to be used when creating a node via the driver

Properties

jmxHttpServerPortAllocation

val jmxHttpServerPortAllocation: PortAllocation?

The port allocation strategy to use for remote Jolokia/JMX monitoring over HTTP. Defaults to incremental.

startJmxHttpServer

val startJmxHttpServer: Boolean

Indicates whether the spawned nodes should start with a Jolokia JMX agent to enable remote JMX monitoring using HTTP/JSON

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

When called from a companion object, returns the logger for the enclosing class.