Reset record's time to expiration using the policy's expiration.
Fail if the record does not exist.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 3.9.2.0 (3.9.2)
Syntax
Parameters
- policy
- Type: Aerospike.Client WritePolicy
write configuration parameters, pass in null for defaults
- key
- Type: Aerospike.Client Key
unique record identifier
Exceptions
Exception | Condition |
---|---|
Aerospike.Client AerospikeException | if touch fails |
See Also