Host Class |
Namespace: Cassandra
public class Host
The Host type exposes the following members.
Name | Description | |
---|---|---|
BringUpIfDown |
Returns true if the host was DOWN and it was set as UP
| |
GetHashCode |
The hash value of the address of the host
(Overrides ObjectGetHashCode.) | |
SetAsRemoved | ||
SetDown |
Sets the Host as Down
|
Name | Description | |
---|---|---|
Address |
Gets the node address.
| |
CassandraVersion |
The Cassandra version the host is running.
Remarks
The value returned can be null if the information is unavailable.
| |
Datacenter |
Gets the name of the datacenter this host is part of. The returned
datacenter name is the one as known by Cassandra. Also note that it is
possible for this information to not be available. In that case this method
returns null and caller should always expect that possibility.
| |
IsConsiderablyUp |
Determines if the host can be considered as UP
| |
IsUp |
Determines if the host is UP for the driver
| |
Rack |
Gets the name of the rack this host is part of. The returned rack name is
the one as known by Cassandra. Also note that it is possible for this
information to not be available. In that case this method returns
null and caller should always expect that possibility.
|