Node Class

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

SystemObject
  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

  NameDescription
Public methodNode
Initialize server node with connection parameters.
Top
Properties

  NameDescription
Public propertyActive
Return whether node is currently active.
Public propertyCluster
Aerospike cluster which contains this node
Public propertyHasBatchAny
Public propertyHasPartitionQuery
Public propertyHasQueryShow
Public propertyHost
Return server node IP address and port.
Public propertyName
Return server node name.
Public propertyNodeAddress
This node's network address
Public propertySessionToken
Top
Methods

  NameDescription
Public methodBalanceConnections
Public methodClose
Close all server node socket connections.
Public methodCloseConnection
Close pooled connection.
Public methodCloseConnectionOnError
Close pooled connection on error.
Public methodCreateMinConnections
Public methodEquals
Return if node names are equal.
(Overrides ObjectEquals(Object).)
Public methodErrorCountWithinLimit
Public methodGetConnection
Get a socket connection from connection pool to the server node.
Public methodGetConnectionStats
Public methodGetHashCode
Get node name hash code.
(Overrides ObjectGetHashCode.)
Public methodHasRack
Return if this node has the same rack as the client for the given namespace.
Public methodIncrErrorCount
Public methodPutConnection
Put connection back into connection pool.
Public methodRefresh
Request current status from server node.
Public methodResetErrorCount
Public methodSignalLogin
Public methodToString
Return node name and host address in string format.
(Overrides ObjectToString.)
Public methodValidateErrorCount
Top
Fields

  NameDescription
Public fieldStatic memberHAS_BATCH_ANY
Public fieldStatic memberHAS_PARTITION_QUERY
Public fieldStatic memberHAS_PARTITION_SCAN
Public fieldStatic memberHAS_QUERY_SHOW
Public fieldStatic memberPARTITIONS
Number of partitions for each namespace.
Top
See Also

Reference