IAsyncClientPrepend(WritePolicy, WriteListener, Key, Bin) Method
Asynchronously prepend bin string values to existing record bin values.
Schedule the prepend 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.
This call works only for string values.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 6.0.1
void Prepend(
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