public class BlockTransferPartitioner extends Object
Constructor and Description |
---|
BlockTransferPartitioner() |
Modifier and Type | Method and Description |
---|---|
List<List<BlockTransferInfo>> |
partitionTransfers(List<BlockTransferInfo> transferInfos,
int maxPartitionCount)
It greedily partitions given transfers into sub-lists.
|
public List<List<BlockTransferInfo>> partitionTransfers(List<BlockTransferInfo> transferInfos, int maxPartitionCount)
transferInfos
- list of transfers to partitionmaxPartitionCount
- max partition countCopyright © 2023. All Rights Reserved.