class Host
- Global
- This class is global
Augments
Members
String address
Gets ip address and port number of the node separated by :.
String cassandraVersion
Gets string containing the Cassandra version.
String datacenter
Gets data center name of the node.
String rack
Gets rack name of the node.
Array tokens
Gets the tokens assigned to the node.
Constructor
new
Host
()Represents a Cassandra node.
Methods
canBeConsideredAsUp
()Determines if the host can be considered as UP
getCassandraVersion
()Returns an array containing the Cassandra Version as an Array of Numbers having the major version in the first position.
isUp
()Determines if the node is UP now (seen as UP by the driver).