Aerospike
C#
Show/Hide TOC
Aerospike
Client
Proxy
Touch Method
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
void
Touch
(
WritePolicy
policy
,
Key
key
)
Parameters
policy
WritePolicy
write configuration parameters, pass in null for defaults
key
Key
unique record identifier
Implements
IAerospikeClient
Touch(WritePolicy, Key)
Exceptions
AerospikeException
if touch fails
See Also
Reference
AerospikeClientProxy Class
Aerospike.Client Namespace
In This Article
Definition
Parameters
Implements
Exceptions
See Also