@ThreadSafe public class PartitionTable<K> extends Object
| 构造器和说明 |
|---|
PartitionTable() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
hasTrackedPartitions(K key)
Returns whether any partitions are being tracked for the given key.
|
void |
startTrackingPartitions(K key,
Collection<ResultPartitionID> newPartitionIds)
Starts the tracking of the given partition for the given key.
|
Collection<ResultPartitionID> |
stopTrackingPartitions(K key)
Stops the tracking of all partition for the given key.
|
void |
stopTrackingPartitions(K key,
Collection<ResultPartitionID> partitionIds)
Stops the tracking of the given set of partitions for the given key.
|
public boolean hasTrackedPartitions(K key)
public void startTrackingPartitions(K key, Collection<ResultPartitionID> newPartitionIds)
public Collection<ResultPartitionID> stopTrackingPartitions(K key)
public void stopTrackingPartitions(K key, Collection<ResultPartitionID> partitionIds)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.