Package org.apache.cassandra.utils
Class JMXServerUtils
java.lang.Object
org.apache.cassandra.utils.JMXServerUtils
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JMXConnectorServercreateJMXServer(int port, boolean local) static JMXConnectorServercreateJMXServer(int port, String hostname, boolean local) Creates a server programmatically.static voidlogJmxServiceUrl(InetAddress serverAddress, int port)
-
Constructor Details
-
JMXServerUtils
public JMXServerUtils()
-
-
Method Details
-
createJMXServer
public static JMXConnectorServer createJMXServer(int port, String hostname, boolean local) throws IOException Creates a server programmatically. This allows us to set parameters which normally are inaccessable.- Throws:
IOException
-
createJMXServer
- Throws:
IOException
-
logJmxServiceUrl
-