AsyncClientGet Method (BatchPolicy, RecordArrayListener, Key, String)

Aerospike
Asynchronously read multiple record headers and bins for specified keys in one batch call. Schedule the batch get 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.

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
public void Get(
	BatchPolicy policy,
	RecordArrayListener listener,
	Key[] keys,
	params string[] binNames
)

Parameters

policy
Type: Aerospike.ClientBatchPolicy
batch configuration parameters, pass in null for defaults
listener
Type: Aerospike.ClientRecordArrayListener
where to send results
keys
Type: Aerospike.ClientKey
array of unique record identifiers
binNames
Type: SystemString
array of bins to retrieve

Implements

IAsyncClientGet(BatchPolicy, RecordArrayListener, Key, String)
Exceptions

ExceptionCondition
AerospikeExceptionif queue is full
See Also

Reference