AsyncClientPolicyasyncMaxCommandsInQueue Field

Maximum number of async commands that can be stored in the delay queue when asyncMaxCommandAction is DELAY and asyncMaxCommands is reached. Queued commands consume memory, but they do not consume connections.

If this limit is reached, the next async command will be rejected with exception AerospikeExceptionCommandRejected. If this limit is zero, all async commands will be accepted into the delay queue.

The optimal value will depend on your application's magnitude of command bursts and the amount of memory available to store commands.

Default: 0 (no delay queue limit)

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

public int asyncMaxCommandsInQueue

Field Value

Type: Int32
See Also