AsyncClient Touch Method Aerospike
Overload List

  NameDescription
Public methodTouch(WritePolicy, Key)
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.
(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