AsyncClient GetHeader Method Aerospike
Overload List

  NameDescription
Public methodGetHeader(BatchPolicy,  Key )
Read multiple record header data 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 methodGetHeader(Policy, Key)
Read record generation and expiration only for specified key. Bins are not read. If found, return record instance. If not found, return null. The policy can be used to specify timeouts.
(Inherited from AerospikeClient.)
Public methodGetHeader(BatchPolicy, RecordArrayListener,  Key )
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.

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

Public methodGetHeader(BatchPolicy, RecordSequenceListener,  Key )
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 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 methodGetHeader(BatchPolicy, CancellationToken,  Key )
Asynchronously read multiple record header data for specified keys in one batch call. Create listener, call asynchronous batch header 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 methodGetHeader(Policy, RecordListener, Key)
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.

The policy can be used to specify timeouts.

Public methodGetHeader(Policy, CancellationToken, Key)
Asynchronously read record generation and expiration only for specified key. Bins are not read. Create listener, call asynchronous get header and return task monitor.

The policy can be used to specify timeouts.

Back to Top
See Also