Scylla JMX proxy
67abbeb060
This patch enhence the APICLient with additional support to query parameters in getStringValue, getListStrValue. New method that will be aded, will be added with both variation, where the base comunication method: get can accept a null query parameter object. An implementation was added for getMapStrValue that retreive a list of key, value and creates a map out of it. post and delete with and without query parameters. getIntValue with query parameters. getMapListStrValue, getListInetAddressValue, getMapStringSnapshotTabularDataValue And the helper functions for the query parameter: join, set_query_param, set_bool_query_param Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com> |
||
---|---|---|
src/main/java | ||
pom.xml | ||
README.md |
Urchin JMX Interface
This is the JMX interface for urchin.
Compile
To compile do:
mvn install
Run
The maven will copy relevant jars to your local directory and would set the classpath accordingly.
java -jar target/urchin-mbean-1.0.jar
Setting IP and Port
By default the the JMX would connect to a node on the localhost on port 10000.
The jmx API uses the system properties to set the IP address and Port. To change the ip address use the apiaddress property (e.g. -Dapiaddress=1.1.1.1) To change the port use the apiport (e.g. -Dapiport=10001)