AsyncClient Touch Method (WritePolicy, CancellationToken, Key)Aerospike
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.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 3.5.0.0 (3.5.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

See Also