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: 4.1.5.0 (4.1.5)
Syntax
Parameters
- policy
- Type: Aerospike.Client WritePolicy
write configuration parameters, pass in null for defaults
- listener
- Type: Aerospike.Client WriteListener
where to send results, pass in null for fire and forget
- key
- Type: Aerospike.Client Key
unique record identifier
Exceptions
Exception | Condition |
---|---|
Aerospike.Client AerospikeException | if queue is full |
See Also