Package org.apache.cassandra.utils
Class JMXServerUtils
- java.lang.Object
-
- org.apache.cassandra.utils.JMXServerUtils
-
public class JMXServerUtils extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JMXServerUtils.JmxRegistry
-
Constructor Summary
Constructors Constructor Description JMXServerUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.management.remote.JMXConnectorServer
createJMXServer(int port, boolean local)
static javax.management.remote.JMXConnectorServer
createJMXServer(int port, java.lang.String hostname, boolean local)
Creates a server programmatically.static void
logJmxServiceUrl(java.net.InetAddress serverAddress, int port)
-
-
-
Method Detail
-
createJMXServer
public static javax.management.remote.JMXConnectorServer createJMXServer(int port, java.lang.String hostname, boolean local) throws java.io.IOException
Creates a server programmatically. This allows us to set parameters which normally are inaccessable.- Throws:
java.io.IOException
-
createJMXServer
public static javax.management.remote.JMXConnectorServer createJMXServer(int port, boolean local) throws java.io.IOException
- Throws:
java.io.IOException
-
logJmxServiceUrl
public static void logJmxServiceUrl(java.net.InetAddress serverAddress, int port)
-
-