AsyncClientTouch(WritePolicy, WriteListener, Key) Method

Asynchronously reset record's time to expiration using the policy's expiration. Schedule the touch command with a channel selector and return. Another thread will process the command and send the results to the listener. Fail if the record does not exist.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public void Touch(
	WritePolicy policy,
	WriteListener listener,
	Key key
)

Parameters

policy  WritePolicy
write configuration parameters, pass in null for defaults
listener  WriteListener
where to send results, pass in null for fire and forget
key  Key
unique record identifier

Implements

IAsyncClientTouch(WritePolicy, WriteListener, Key)

Exceptions

AerospikeExceptionif queue is full

See Also