IAsyncClientGetHeader(BatchPolicy, RecordArrayListener, Key) Method

Asynchronously read multiple record header data for specified keys in one batch call. Schedule the batch get header command with a channel selector and return. Another thread will process the command and send the results to the listener in a single call.

If a key is not found, the record will be null.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
void GetHeader(
	BatchPolicy policy,
	RecordArrayListener listener,
	Key[] keys
)

Parameters

policy  BatchPolicy
batch configuration parameters, pass in null for defaults
listener  RecordArrayListener
where to send results
keys  Key
array of unique record identifiers

Exceptions

AerospikeExceptionif queue is full

See Also