AsyncClient Touch Method Aerospike
Overload List

  NameDescription
Public methodTouch(WritePolicy, Key)
Reset record's time to expiration using the policy's expiration. Fail if the record does not exist.
(Inherited from AerospikeClient.)
Public methodTouch(WritePolicy, WriteListener, Key)
Asynchronously create record if it does not already exist. If the record exists, the record's time to expiration will be reset to the policy's expiration.

This method schedules the touch command with a channel selector and returns. Another thread will process the command and send the results to the listener.

Back to Top
See Also