|Constructor and Description|
|Modifier and Type||Method and Description|
Connects to the given
Access-Method for the
public DefaultConnectionManager(int retryCount)
retryCount- Any value >= 1. If <= 0, 3 is used.
retryCount = 3.
public JmxServerConnectionWrapper connect(JmxConnectors connectorName, InetAddress ipAddress, Map<String,String> properties, JmxConnectionManager.RetryCallback retryCallback) throws JmxServerConnectionException
connectionString. If the connection to the server could not be established (e.g. no retries left) a JmxServerConnectionException is thrown.
JmxConnectorsname of the connection. May be null.
ipAddress- the address to connect to
properties- properties for the connection (e.g. port, user, etc.)
retryCallback- A callback, which should be called BEFORE creating the connection. May be null.
JmxServerConnectionException- if the connection to the given ipAddress using the registered JmxServerConnector could not be established.
Copyright © 2021. All rights reserved.