org.scale7.cassandra.pelops
Class ClusterManager
java.lang.Object
org.scale7.cassandra.pelops.ManagerOperand
org.scale7.cassandra.pelops.ClusterManager
public class ClusterManager
- extends ManagerOperand
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusterManager
public ClusterManager(Cluster cluster)
getClusterName
public String getClusterName()
throws Exception
- Get the name of the cluster. Only nodes with the same cluster name communicate using the Gossip P2P protocol.
- Returns:
- The name of the cluster
- Throws:
Exception
getCassandraVersion
public String getCassandraVersion()
throws Exception
- Get the version of the Cassandra software being run by the cluster.
- Returns:
- The version of the Cassandra software
- Throws:
Exception
Copyright © 2011. All Rights Reserved.