AsyncClientPut(WritePolicy, WriteListener, Key, Bin) Method

Asynchronously write record bin(s). Schedules the put 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: 6.0.1
public void Put(
	WritePolicy policy,
	WriteListener listener,
	Key key,
	params Bin[] bins


policy  WritePolicy
write configuration parameters, pass in null for defaults
listener  WriteListener
where to send results, pass in null for fire and forget
key  Key
unique record identifier
bins  Bin
array of bin name/value pairs


IAsyncClientPut(WritePolicy, WriteListener, Key, Bin)


AerospikeExceptionif queue is full

See Also