Constructor
new Host()
Represents a Cassandra node.
Extends
- EventEmitter
Members
address :String
Gets ip address and port number of the node separated by `:`.
Type:
- String
cassandraVersion :String
Gets Cassandra version string.
Type:
- String
datacenter :String
Gets data center name of the node.
Type:
- String
rack :String
Gets rack name of the node.
Type:
- String
tokens :Array
Gets the tokens assigned to the node.
Type:
- Array
Methods
canBeConsideredAsUp() → {boolean}
Determines if the host can be considered as UP
Returns:
- Type
- boolean
isUp() → {boolean}
Determines if the node is UP now (seen as UP by the driver).
Returns:
- Type
- boolean