Node Class

Server node representation. This class manages server node connections and health status.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public class Node
Inheritance
Object    Node
Derived

Constructors

Node Initialize server node with connection parameters.

Properties

Active Return whether node is currently active.
Cluster Aerospike cluster which contains this node
HasBatchAny 
HasPartitionQuery 
HasQueryShow 
Host Return server node IP address and port.
Name Return server node name.
NodeAddress This node's network address
SessionToken 

Methods

BalanceConnections 
Close Close all server node socket connections.
CloseConnection Close pooled connection.
CloseConnectionOnError Close pooled connection on error.
CreateMinConnections 
Equals Return if node names are equal.
(Overrides ObjectEquals(Object))
ErrorCountWithinLimit 
GetConnection Get a socket connection from connection pool to the server node.
GetConnectionStats 
GetHashCode Get node name hash code.
(Overrides ObjectGetHashCode)
HasRack Return if this node has the same rack as the client for the given namespace.
IncrErrorCount 
PutConnection Put connection back into connection pool.
Refresh Request current status from server node.
ResetErrorCount 
SignalLogin 
ToString Return node name, host address and cluster id in string format.
(Overrides ObjectToString)
ValidateErrorCount 

Fields

HAS_BATCH_ANY 
HAS_PARTITION_QUERY 
HAS_PARTITION_SCAN 
HAS_QUERY_SHOW 
PARTITIONS Number of partitions for each namespace.

See Also