AsyncClientAdd Method (WritePolicy, WriteListener, Key, Bin)

Aerospike
Asynchronously add integer/double bin values to existing record bin values. Schedule the add command with a channel selector and return. Another thread will process the command and send the results to the listener.

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

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

C#
public void Add(
	WritePolicy policy,
	WriteListener listener,
	Key key,
	params Bin[] bins
)

Parameters

policy
Type: Aerospike.ClientWritePolicy
write configuration parameters, pass in null for defaults
listener
Type: Aerospike.ClientWriteListener
where to send results, pass in null for fire and forget
key
Type: Aerospike.ClientKey
unique record identifier
bins
Type: Aerospike.ClientBin
array of bin name/value pairs

Implements

IAsyncClientAdd(WritePolicy, WriteListener, Key, Bin)
Exceptions

ExceptionCondition
AerospikeExceptionif queue is full
See Also

Reference