AsyncClientGetHeader(Policy, RecordListener, Key) Method

Asynchronously read record generation and expiration only for specified key. Bins are not read. Schedule the get command with a channel selector and return. Another thread will process the command and send the results to the listener.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public void GetHeader(
	Policy policy,
	RecordListener listener,
	Key key
)

Parameters

policy  Policy
generic configuration parameters, pass in null for defaults
listener  RecordListener
where to send results
key  Key
unique record identifier

Implements

IAsyncClientGetHeader(Policy, RecordListener, Key)

Exceptions

AerospikeExceptionif queue is full

See Also