Extends
- EventEmitter
Members
address :String
Gets ip address and port number of the node separated by :.
Type:
- String
cassandraVersion :String
Gets string containing the Cassandra version.
Type:
- String
datacenter :String
Gets data center name of the node.
Type:
- String
dseVersion
hostId :Uuid
Gets the id of the host.
This identifier is used by the server for internal communication / gossip.
Type:
- Uuid
rack :String
Gets rack name of the node.
Type:
- String
tokens :Array
Gets the tokens assigned to the node.
Type:
- Array
workloads
Methods
canBeConsideredAsUp() → {boolean}
This endpoint is not yet implemented, and its usage will throw an error
Determines if the host can be considered as UP. Deprecated: Use Host#isUp() instead.
Returns:
- Type
- boolean
getCassandraVersion() → {Array.<Number>}
This endpoint is not yet implemented, and its usage will throw an error
Returns an array containing the Cassandra Version as an Array of Numbers having the major version in the first position.
Returns:
- Type
- Array.<Number>
getDseVersion()
isUp() → {boolean}
This endpoint is not yet implemented, and its usage will throw an error
Determines if the node is UP now (seen as UP by the driver).
Returns:
- Type
- boolean
(package, static) fromRust(hostWrapper)
Creates a Host instance from a Rust HostWrapper.
Parameters:
| Name | Type | Description |
|---|---|---|
hostWrapper |
_rust.HostWrapper |