AsyncClientPolicyasyncBufferSize Field

Size of buffer allocated for each async command. The size should be a multiple of 8 KB. If not, the size is rounded up to the nearest 8 KB increment.

If an async command requires a buffer size less than or equal to asyncBufferSize, the buffer pool will be used. If an async command requires a buffer size greater than asyncBufferSize, a new single-use buffer will be created on the heap.

This field is also used to size the buffer pool for all async commands:

C#
buffer pool size = asyncBufferSize * asyncMaxCommands

Default: 128 * 1024 (128 KB)

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public int asyncBufferSize

Field Value

Int32

See Also