AsyncClientGetHeader Method

Overload List

GetHeader(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.
GetHeader(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.
GetHeader(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.

GetHeader(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.

GetHeader(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.

GetHeader(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.
GetHeader(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.

See Also