AsyncClientGetHeader(Policy, CancellationToken, Key) Method

Asynchronously read record generation and expiration only for specified key. Bins are not read. Create listener, call asynchronous get header and return task monitor.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public Task<Record> GetHeader(
	Policy policy,
	CancellationToken token,
	Key key
)

Parameters

policy  Policy
generic configuration parameters, pass in null for defaults
token  CancellationToken
cancellation token
key  Key
unique record identifier

Return Value

TaskRecord

Implements

IAsyncClientGetHeader(Policy, CancellationToken, Key)

Exceptions

AerospikeExceptionif queue is full

See Also