Aerospike
C#
Show/Hide TOC
Async
Client
Proxy
Touch(Write
Policy, Cancellation
Token, Key) Method
Asynchronously reset record's time to expiration using the policy's expiration. Fail if the record does not exist.
Definition
Namespace:
Aerospike.Client
Assembly:
AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
Copy
public
Task
Touch
(
WritePolicy
policy
,
CancellationToken
token
,
Key
key
)
Parameters
policy
WritePolicy
write configuration parameters, pass in null for defaults
token
CancellationToken
cancellation token
key
Key
unique record identifier
Return Value
Task
Implements
IAsyncClient
Touch(WritePolicy, CancellationToken, Key)
Exceptions
AerospikeException
if queue is full
See Also
Reference
AsyncClientProxy Class
Touch Overload
Aerospike.Client Namespace
In This Article
Definition
Parameters
Return Value
Implements
Exceptions
See Also