AsyncClientGet(Policy, RecordListener, Key, String) Method

Asynchronously read record header and bins for specified key. 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 Get(
	Policy policy,
	RecordListener listener,
	Key key,
	params string[] binNames
)

Parameters

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

Implements

IAsyncClientGet(Policy, RecordListener, Key, String)

Exceptions

AerospikeExceptionif queue is full

See Also