public interface JMXHostProvider
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getHostNames(String clusterName,
String componentName)
Get the JMX host names for the given cluster name and component name.
|
String |
getJMXProtocol(String clusterName,
String componentName)
Get the protocol for the specified cluster name and component.
|
String |
getJMXRpcMetricTag(String clusterName,
String componentName,
String port)
Get the rpc tag for the specified cluster name, component and port number
|
String |
getPort(String clusterName,
String componentName,
String hostName,
boolean httpsEnabled)
Get the port for the specified cluster name and component.
|
String |
getPublicHostName(String clusterName,
String hostName) |
Set<String> getHostNames(String clusterName, String componentName)
clusterName - the cluster namecomponentName - the component nameString getPort(String clusterName, String componentName, String hostName, boolean httpsEnabled)
clusterName - the cluster namecomponentName - the component namehostName - the component hostNamehttpsEnabled - https enabledString getJMXProtocol(String clusterName, String componentName)
clusterName - the cluster namecomponentName - the component nameString getJMXRpcMetricTag(String clusterName, String componentName, String port)
clusterName - the cluster namecomponentName - the componentName nameport - the port numberCopyright © 2022 Apache Software Foundation. All rights reserved.