Create record if it does not already exist. If the record exists, the record's
time to expiration will be reset to the policy's expiration.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 3.0.0.0 (3.0.4)
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