IAerospikeClientTouch Method

Aerospike
Reset record's time to expiration using the policy's expiration. Fail if the record does not exist.

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
void Touch(
	WritePolicy policy,
	Key key
)

Parameters

policy
Type: Aerospike.ClientWritePolicy
write configuration parameters, pass in null for defaults
key
Type: Aerospike.ClientKey
unique record identifier
Exceptions

ExceptionCondition
AerospikeExceptionif touch fails
See Also

Reference