IAsyncClientPut(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.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
void Put(
WritePolicy policy,
WriteListener listener,
Key key,
params Bin[] bins
)
Parameters
- 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