BlockFetchStarter¶
BlockFetchStarter is the <
[[contract]] [[createAndStart]] [source, java]
void createAndStart(String[] blockIds, BlockFetchingListener listener) throws IOException, InterruptedException;
createAndStart is used when:
-
NettyBlockTransferServiceis requested to storage:NettyBlockTransferService.md#fetchBlocks[fetchBlocks] (when network:TransportConf.md#io.maxRetries[maxIORetries] is0) -
RetryingBlockFetcheris requested to core:RetryingBlockFetcher.md#fetchAllOutstanding[fetchAllOutstanding]