Package org.apache.cassandra.utils
Class Mx4jTool
java.lang.Object
org.apache.cassandra.utils.Mx4jTool
If mx4j-tools is in the classpath call maybeLoad to load the HTTP interface of mx4j.
The default port is 8081. To override that provide e.g. -Dmx4jport=8082
The default listen address is the broadcast_address. To override that provide -Dmx4jaddress=127.0.0.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanStarts a JMX over http interface if and mx4j-tools.jar is in the classpath.
-
Constructor Details
-
Mx4jTool
public Mx4jTool()
-
-
Method Details
-
maybeLoad
public static boolean maybeLoad()Starts a JMX over http interface if and mx4j-tools.jar is in the classpath.- Returns:
- true if successfully loaded.
-