public class KeySharedSplitSchedulingStrategy extends Object implements SplitSchedulingStrategy
| Constructor and Description |
|---|
KeySharedSplitSchedulingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSplitsBack(Map<Integer,List<PulsarPartitionSplit>> pendingPartitionSplitAssignment,
List<PulsarPartitionSplit> splits,
int subtaskId,
int numReaders) |
int |
getIndexOfReader(int numReaders,
PulsarPartitionSplit split) |
public int getIndexOfReader(int numReaders,
PulsarPartitionSplit split)
getIndexOfReader in interface SplitSchedulingStrategypublic void addSplitsBack(Map<Integer,List<PulsarPartitionSplit>> pendingPartitionSplitAssignment, List<PulsarPartitionSplit> splits, int subtaskId, int numReaders)
addSplitsBack in interface SplitSchedulingStrategyCopyright © 2019–2021 The Apache Software Foundation. All rights reserved.