class Host
Represents a Cassandra node.
- 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.
Uuid
hostId
Gets the id of the host.
This identifier is used by the server for internal communication / gossip.
String
rack
Gets rack name of the node.
Array
tokens
Gets the tokens assigned to the node.
Constructor
new
Host
()Creates a new Host instance.
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).