AsyncClient.Touched Method

Overload List

Touched(WritePolicy, Key) Reset record's time to expiration using the policy's expiration. If the record does not exist, it can't be created because the server deletes empty records. Return true if the record exists and is touched.Return false if the record does not exist.
Touched(WritePolicy, ExistsListener, Key) Asynchronously reset record's time to expiration using the policy's expiration. Schedule the touched command with a channel selector and return. Another thread will process the command and send the results to the listener. If the record does not exist, it can't be created because the server deletes empty records.

If the record does not exist, send a value of false to OnSuccess(Key, Boolean)

Touched(WritePolicy, CancellationToken, Key) Asynchronously reset record's time to expiration using the policy's expiration. Create listener, call asynchronous touched and return task monitor. If the record does not exist, it can't be created because the server deletes empty records.

See Also