HashMap<Key,BatchItem> keyMap = BatchItem.generateMap(keys);
// Dispatch asynchronous commands to nodes.
for (BatchNode batchNode : batchNodes) {
for (BatchNamespace batchNamespace : batchNode.batchNamespaces) {
Command command = new Command();
command.setBatchGet(batchNamespace, binNames, readAttr);
AsyncBatchGetArray async = new AsyncBatchGetArray(this, cluster, (AsyncNode)batchNode.node, keyMap, binNames, recordArray);
async.execute(policy, command);
}
}