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. Schedule the touch command with a channel selector and return. Another thread will process the command and send the results to the listener. If the record exists, the record's time to expiration will be reset to the policy's expiration.
Public methodTouch(WritePolicy, CancellationToken, Key)
Asynchronously create record if it does not already exist. Create listener, call asynchronous touch and return task monitor. If the record exists, the record's time to expiration will be reset to the policy's expiration.
Back to Top
See Also