Server node representation. This class manages server node connections and health status.
Inheritance Hierarchy
Aerospike.ClientNode
Aerospike.ClientAsyncNode
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
public class Node
The Node type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Node |
Initialize server node with connection parameters.
|
Properties
Name | Description | |
---|---|---|
![]() | 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
Name | Description | |
---|---|---|
![]() | 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 and host address in string format.
(Overrides ObjectToString.) |
![]() | ValidateErrorCount |
Fields
Name | Description | |
---|---|---|
![]() ![]() | HAS_BATCH_ANY | |
![]() ![]() | HAS_PARTITION_QUERY | |
![]() ![]() | HAS_PARTITION_SCAN | |
![]() ![]() | HAS_QUERY_SHOW | |
![]() ![]() | PARTITIONS |
Number of partitions for each namespace.
|
See Also