Click or drag to resize
Host Class
A Cassandra node. This class keeps the informations the driver maintain on a given Cassandra node.
Inheritance Hierarchy
SystemObject
  CassandraHost

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.0.9 (git 5ca22bb)
Syntax
C#
public class Host

The Host type exposes the following members.

Constructors
  NameDescription
Public methodHost
Initializes a new instance of the Host class
Top
Methods
  NameDescription
Public methodBringUpIfDown
Returns true if the host was DOWN and it was set as UP
Public methodGetHashCode
The hash value of the address of the host
(Overrides ObjectGetHashCode.)
Public methodSetAsRemoved
Public methodSetDown
Sets the Host as Down
Top
Properties
  NameDescription
Public propertyAddress
Gets the node address.
Public propertyCassandraVersion
The Cassandra version the host is running.
Remarks
The value returned can be null if the information is unavailable.
Public propertyDatacenter
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.
Public propertyIsConsiderablyUp
Determines if the host can be considered as UP
Public propertyIsUp
Determines if the host is UP for the driver
Public propertyRack
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.
Top
See Also