Cluster Class

[Missing <summary> documentation for "T:Aerospike.Client.Cluster"]

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
C#
public class Cluster
Inheritance
Object    Cluster
Derived

Constructors

ClusterInitializes a new instance of the Cluster class

Properties

Connected 
HasClusterName 
InvalidNodeCount Return count of add node failures in the most recent cluster tend iteration.
Nodes 

Methods

AddCommandCount Increment command count when metrics are enabled.
AddDelayQueueTimeout Increment async delay queue timeout count.
AddRetries Add command retry count. There can be multiple retries for a single command.
AddRetry Increment command retry count. There can be multiple retries for a single command.
AddSeeds 
Close 
DisableMetrics 
EnableMetrics 
ForceSingleNode 
GetCommandCount Return command count. The value is cumulative and not reset per metrics interval.
GetDelayQueueTimeoutCount Increment async delay queue timeout count.
GetNode 
GetRandomNode 
GetRecoverQueueSize Return connection recoverQueue size. The queue contains connections that have timed out and need to be drained before returning the connection to a connection pool. The recoverQueue is only used when TimeoutDelay is true.

Since recoverQueue is a linked list where the size() calculation is expensive, a separate counter is used to track recoverQueue.size().

GetRetryCount Return command retry count. The value is cumulative and not reset per metrics interval.
GetStats 
InitTendThread 
InterruptTendSleep 
PrintPartitionMap 
RecoverConnection 
Run 
SetErrorRateWindow The number of cluster tend iterations that defines the window for maxErrorRate. For performance reasons, errorRateWindow is not declared volatile, so we are relying on cache coherency for other threads to recognize this change.
SetMaxErrorRate Set max errors allowed within configurable window for all nodes. For performance reasons, maxErrorRate is not declared volatile, so we are relying on cache coherency for other threads to recognize this change.
StartTendThread 
ValidateNodes 

Fields

See Also