AsyncClient Get Method Aerospike
Overload List

  NameDescription
Public methodGet(BatchPolicy,  Key )
Read multiple records for specified keys in one batch call. The returned records are in positional order with the original key array order. If a key is not found, the positional record will be null.

If a batch request to a node fails, the entire batch is cancelled.

(Inherited from AerospikeClient.)
Public methodGet(BatchPolicy, List BatchRead )
Read multiple records for specified batch keys in one batch call. This method allows different namespaces/bins to be requested for each key in the batch. The returned records are located in the same list. If the BatchRecord key field is not found, the corresponding record field will be null.

If a batch request to a node fails, the entire batch is cancelled.

(Inherited from AerospikeClient.)
Public methodGet(Policy, Key)
Read entire record for specified key. If found, return record instance. If not found, return null. The policy can be used to specify timeouts.
(Inherited from AerospikeClient.)
Public methodGet(BatchPolicy,  Key ,  Operation )
Read multiple records for specified keys using read operations in one batch call. The returned records are in positional order with the original key array order. If a key is not found, the positional record will be null.

If a batch request to a node fails, the entire batch is cancelled.

(Inherited from AerospikeClient.)
Public methodGet(BatchPolicy,  Key ,  String )
Read multiple record headers and bins for specified keys in one batch call. The returned records are in positional order with the original key array order. If a key is not found, the positional record will be null.

If a batch request to a node fails, the entire batch is cancelled.

(Inherited from AerospikeClient.)
Public methodGet(BatchPolicy, BatchListListener, List BatchRead )
Asynchronously read multiple records for specified batch keys in one batch call. This method allows different namespaces/bins to be requested for each key in the batch. The returned records are located in the same list. If the BatchRecord key field is not found, the corresponding record field will be null.

This method schedules the get command with a channel selector and returns. Another thread will process the command and send the results to the listener in a single call.

If a batch request to a node fails, the entire batch is cancelled.

Public methodGet(BatchPolicy, BatchSequenceListener, List BatchRead )
Asynchronously read multiple records for specified batch keys in one batch call. This method allows different namespaces/bins to be requested for each key in the batch. The returned records are located in the same list. If the BatchRecord key field is not found, the corresponding record field will be null.

This method schedules the get command with a channel selector and returns. Another thread will process the command and send the results to the listener in a single call.

If a batch request to a node fails, responses from other nodes will continue to be processed.

Public methodGet(BatchPolicy, RecordArrayListener,  Key )
Asynchronously read multiple records 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.

If a batch request to a node fails, the entire batch is cancelled.

Public methodGet(BatchPolicy, RecordSequenceListener,  Key )
Asynchronously read multiple records for specified keys in one batch call. Schedule the get command with a channel selector and return. Another thread will process the command and send the results to the listener in multiple unordered calls.

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

If a batch request to a node fails, responses from other nodes will continue to be processed.

Public methodGet(BatchPolicy, CancellationToken,  Key )
Asynchronously read multiple records for specified keys in one batch call. Create listener, call asynchronous batch get and return task monitor.

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

If a batch request to a node fails, the entire batch is cancelled.

Public methodGet(BatchPolicy, CancellationToken, List BatchRead )
Asynchronously read multiple records for specified batch keys in one batch call. This method allows different namespaces/bins to be requested for each key in the batch. The returned records are located in the same list.

Create listener, call asynchronous batch get and return task monitor.

If a batch request to a node fails, the entire batch is cancelled.

Public methodGet(Policy, Key,  String )
Read record header and bins for specified key. If found, return record instance. If not found, return null. The policy can be used to specify timeouts.
(Inherited from AerospikeClient.)
Public methodGet(Policy, RecordListener, Key)
Asynchronously read entire record 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.

The policy can be used to specify timeouts.

Public methodGet(Policy, CancellationToken, Key)
Asynchronously read entire record for specified key. Create listener, call asynchronous get and return task monitor.

The policy can be used to specify timeouts.

Public methodGet(BatchPolicy, RecordArrayListener,  Key ,  Operation )
Asynchronously read multiple records for specified keys using read operations 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.

The returned records are in positional order with the original key array order. If a key is not found, the positional record will be null.

If a batch request to a node fails, the entire batch is cancelled.

Public methodGet(BatchPolicy, RecordArrayListener,  Key ,  String )
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.

If a batch request to a node fails, the entire batch is cancelled.

Public methodGet(BatchPolicy, RecordSequenceListener,  Key ,  Operation )
Asynchronously read multiple records for specified keys using read operations 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 multiple unordered calls.

Each record result is returned in separate OnRecord() calls. If a key is not found, the record will be null.

If a batch request to a node fails, responses from other nodes will continue to be processed.

Public methodGet(BatchPolicy, RecordSequenceListener,  Key ,  String )
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 multiple unordered calls.

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

If a batch request to a node fails, responses from other nodes will continue to be processed.

Public methodGet(BatchPolicy, CancellationToken,  Key ,  Operation )
Asynchronously read multiple record headers and bins for specified keys using read operations in one batch call. Create listener, call asynchronous batch get and return task monitor.

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

If a batch request to a node fails, the entire batch is cancelled.

Public methodGet(BatchPolicy, CancellationToken,  Key ,  String )
Asynchronously read multiple record headers and bins for specified keys in one batch call. Create listener, call asynchronous batch get and return task monitor.

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

If a batch request to a node fails, the entire batch is cancelled.

Public methodGet(Policy, RecordListener, Key,  String )
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.

The policy can be used to specify timeouts.

Public methodGet(Policy, CancellationToken, Key,  String )
Asynchronously read record header and bins for specified key. Create listener, call asynchronous get and return task monitor.

The policy can be used to specify timeouts.

Back to Top
See Also