IAsyncClientTouch(WritePolicy, WriteListener, Key) Method
Asynchronously reset record's time to expiration using the policy's expiration.
Schedule the touch command with a channel selector and return.
Another thread will process the command and send the results to the listener.
Fail if the record does not exist.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 6.0.1
void Touch(
WritePolicy policy,
WriteListener listener,
Key key
)
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