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: 3.9.16.1 (3.9.16.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 propertyHasBitOperations
Does server support bit operations.
Public propertyHasClusterStable
Does server support cluster-stable info command.
Public propertyHasIndexExists
Does server support sindex-exists info command.
Public propertyHasLutNow
Does server support lut=now in truncate info command.
Public propertyHasPartitionScan
Does server support partition scans.
Public propertyHasPeers
Does server support peers info command.
Public propertyHasReplicas
Does server support replicas info command.
Public propertyHasTruncateNamespace
Does server support truncate-namespace info command.
Public propertyHost
Return server node IP address and port.
Public propertyMetrics
Return metrics if enabled. Otherwise return null.
Public propertyName
Return server node name.
Public propertyNodeAddress
This node's network address
Top
Methods

  NameDescription
Public methodAddError
Public methodAddLatency
Public methodAddTimeout
Public methodBalanceConnections
Public methodClose
Close all server node socket connections.
Public methodCloseConnection
Close connection and decrement connection count.
Public methodCreateMinConnections
Public methodEnableMetrics
Public methodEquals
Return if node names are equal.
(Overrides ObjectEquals(Object).)
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 methodPutConnection
Put connection back into connection pool.
Public methodRefresh
Request current status from server node.
Public methodSignalLogin
Public methodToString
Return node name and host address in string format.
(Overrides ObjectToString.)
Top
Fields

  NameDescription
Public fieldStatic memberHAS_BIT_OP
Public fieldStatic memberHAS_CLUSTER_STABLE
Public fieldStatic memberHAS_GEO
Public fieldStatic memberHAS_INDEX_EXISTS
Public fieldStatic memberHAS_LUT_NOW
Public fieldStatic memberHAS_PARTITION_SCAN
Public fieldStatic memberHAS_PEERS
Public fieldStatic memberHAS_REPLICAS
Public fieldStatic memberHAS_TRUNCATE_NS
Public fieldStatic memberPARTITIONS
Number of partitions for each namespace.
Top
See Also

Reference