AsyncClientAdd(WritePolicy, CancellationToken, Key, Bin) Method

Asynchronously add integer/double bin values to existing record bin values. Create listener, call asynchronous add and return task monitor.

The policy specifies the transaction timeout, record expiration and how the transaction is handled when the record already exists.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public Task Add(
	WritePolicy policy,
	CancellationToken token,
	Key key,
	params Bin[] bins
)

Parameters

policy  WritePolicy
write configuration parameters, pass in null for defaults
token  CancellationToken
cancellation token
key  Key
unique record identifier
bins  Bin
array of bin name/value pairs

Return Value

Task

Implements

IAsyncClientAdd(WritePolicy, CancellationToken, Key, Bin)

Exceptions

AerospikeExceptionif queue is full

See Also