Class PartitionTable<K>
java.lang.Object
org.apache.flink.runtime.taskexecutor.partition.PartitionTable<K>
Thread-safe Utility for tracking partitions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTrackedPartitions(K key) booleanhasTrackedPartitions(K key) Returns whether any partitions are being tracked for the given key.voidstartTrackingPartitions(K key, Collection<ResultPartitionID> newPartitionIds) Starts the tracking of the given partition for the given key.stopTrackingPartitions(K key) Stops the tracking of all partition for the given key.voidstopTrackingPartitions(K key, Collection<ResultPartitionID> partitionIds) Stops the tracking of the given set of partitions for the given key.
-
Constructor Details
-
PartitionTable
public PartitionTable()
-
-
Method Details
-
hasTrackedPartitions
Returns whether any partitions are being tracked for the given key. -
getTrackedPartitions
-
startTrackingPartitions
Starts the tracking of the given partition for the given key. -
stopTrackingPartitions
Stops the tracking of all partition for the given key. -
stopTrackingPartitions
Stops the tracking of the given set of partitions for the given key.
-