Asynchronously create record if it does not already exist.
Create listener, call asynchronous touch and return task monitor.
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.2.0.0 (3.2.3)
Syntax
Parameters
- policy
- Type: Aerospike.Client WritePolicy
write configuration parameters, pass in null for defaults
- token
- Type:
System.Threading CancellationToken
cancellation token
- key
- Type: Aerospike.Client Key
unique record identifier
Exceptions
Exception | Condition |
---|---|
Aerospike.Client AerospikeException | if queue is full |
See Also