public interface JmxConnectionManager
JmxServerConnectorimplementation according to the connectionName and establish a connection using that server connector. If no
JmxServerConnectorcould be used for a given connectionName the error handling is up to the implementation. If a connection to a JMX Server could not be established the
JmxConnectionManagermay try again. If a connection manager supports retries is up to the implementation.
|Modifier and Type||Interface and Description|
This callback should always be invoked BEFORE invoking the
|Modifier and Type||Method and Description|
Connects to the given
JmxServerConnectionWrapper connect(JmxConnectors connectionName, InetAddress ipAddress, Map<String,String> connectionProperties, 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
connectionProperties- 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 © 2015. All rights reserved.