KVSKVSClientTouchAsync(AerospikeRequestPayload, Metadata, NullableDateTime, CancellationToken) Method
Reset single record's time to expiration using the write policy's expiration.
Namespace: Aerospike.Client.KVSAssembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.0
public virtual AsyncUnaryCall<AerospikeResponsePayload> TouchAsync(
AerospikeRequestPayload request,
Metadata headers = null,
DateTime? deadline = null,
CancellationToken cancellationToken = default
)
- request AerospikeRequestPayload
- The request to send to the server.
- headers Metadata (Optional)
- The initial metadata to send with the call. This parameter is optional.
- deadline NullableDateTime (Optional)
- An optional deadline for the call. The call will be cancelled if deadline is hit.
- cancellationToken CancellationToken (Optional)
- An optional token for canceling the call.
AsyncUnaryCallAerospikeResponsePayloadThe call object.