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.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
void Touch( WritePolicy policy, WriteListener listener, Key key )
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
Exceptions
Exception | Condition |
---|---|
AerospikeException | if queue is full |
See Also