AsyncClientPolicyasyncMaxConnsPerNode Field

Maximum number of asynchronous connections allowed per server node. Transactions will go through retry logic and potentially fail with "ResultCode.NO_MORE_CONNECTIONS" if the maximum number of connections would be exceeded.

The number of connections used per node depends on concurrent commands in progress plus sub-commands used for parallel multi-node commands (batch, scan, and query). One connection will be used for each command.

If the value is -1, the value will be set to maxConnsPerNode.

Default: -1 (Use maxConnsPerNode)

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: (5.1.1)

public int asyncMaxConnsPerNode

Field Value

Type: Int32
See Also