IAsyncClientOperate Method

Overload List

Operate(BatchPolicy, ListBatchRecord) Read/Write multiple records for specified batch keys in one batch call. This method allows different namespaces/bins for each key in the batch. The returned records are located in the same list.

BatchRecord can be BatchRead, BatchWrite, BatchDelete or BatchUDF.

Requires server version 6.0+

Operate(BatchPolicy, BatchOperateListListener, ListBatchRecord) Asynchronously read/write multiple records for specified batch keys in one batch call. Schedule command with a channel selector and return. Another thread will process the command and send the results to the listener in a single 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.

BatchRecord can be BatchRead, BatchWrite, BatchDelete or BatchUDF.

Requires server version 6.0+

Operate(BatchPolicy, BatchRecordSequenceListener, ListBatchRecord) Asynchronously read/write multiple records for specified batch keys in one batch call. 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.

This method allows different namespaces/bins to be requested for each key in the batch. Each record result is returned in separate OnRecord() calls. The returned records are located in the same list.

BatchRecord can be BatchRead, BatchWrite, BatchDelete or BatchUDF.

Requires server version 6.0+

Operate(BatchPolicy, CancellationToken, ListBatchRecord) Asynchronously read/write multiple records for specified batch keys in one batch call. Create listener, call asynchronous delete and return task monitor.

Requires server version 6.0+

Operate(WritePolicy, Key, Operation) Perform multiple read/write operations on a single key in one batch call. An example would be to add an integer value to an existing record and then read the result, all in one database call.

The server executes operations in the same order as the operations array. Both scalar bin operations (Operation) and CDT bin operations (ListOperation, MapOperation) can be performed in same call.

Operate(BatchPolicy, BatchWritePolicy, Key, Operation) Perform read/write operations on multiple keys. If a key is not found, the corresponding result resultCode will be .

Requires server version 6.0+

Operate(WritePolicy, RecordListener, Key, Operation) Asynchronously perform multiple read/write operations on a single key in one batch call. Schedule the operate command with a channel selector and return. Another thread will process the command and send the results to the listener.

An example would be to add an integer value to an existing record and then read the result, all in one database call.

Operate(WritePolicy, CancellationToken, Key, Operation) Asynchronously perform multiple read/write operations on a single key in one batch call. Create listener, call asynchronous operate and return task monitor.

An example would be to add an integer value to an existing record and then read the result, all in one database call.

The server executes operations in the same order as the operations array. Both scalar bin operations (Operation) and CDT bin operations (ListOperation, MapOperation) can be performed in same call.

Operate(BatchPolicy, BatchWritePolicy, BatchRecordArrayListener, Key, Operation) Asynchronously perform read/write operations on multiple keys. Schedule 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 corresponding result resultCode will be KEY_NOT_FOUND_ERROR.

Requires server version 6.0+

Operate(BatchPolicy, BatchWritePolicy, BatchRecordSequenceListener, Key, Operation) Asynchronously perform read/write operations on multiple keys. Schedule command with a channel selector and return. Another thread will process the command and send the results to the listener.

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

Requires server version 6.0+

Operate(BatchPolicy, BatchWritePolicy, CancellationToken, Key, Operation) Asynchronously perform read/write operations on multiple keys. Create listener, call asynchronous delete and return task monitor.

Requires server version 6.0+

See Also