public class TaskExecutorPartitionTrackerImpl extends AbstractPartitionTracker<org.apache.flink.api.common.JobID,TaskExecutorPartitionInfo> implements TaskExecutorPartitionTracker
partitionInfos, partitionTable| Constructor and Description |
|---|
TaskExecutorPartitionTrackerImpl(ShuffleEnvironment<?,?> shuffleEnvironment) |
| Modifier and Type | Method and Description |
|---|---|
ClusterPartitionReport |
createClusterPartitionReport()
Creates a
ClusterPartitionReport, describing which cluster partitions are currently
available. |
void |
promoteJobPartitions(Collection<ResultPartitionID> partitionsToPromote)
Promotes the given partitions.
|
void |
startTrackingPartition(org.apache.flink.api.common.JobID producingJobId,
TaskExecutorPartitionInfo partitionInfo)
Starts the tracking of the given partition for the given job.
|
void |
stopTrackingAndReleaseAllClusterPartitions()
Releases and stops tracking all partitions.
|
void |
stopTrackingAndReleaseClusterPartitions(Collection<IntermediateDataSetID> dataSetsToRelease)
Releases partitions associated with the given datasets and stops tracking of partitions that
were released.
|
void |
stopTrackingAndReleaseJobPartitions(Collection<ResultPartitionID> partitionsToRelease)
Releases the given partitions and stop the tracking of partitions that were released.
|
void |
stopTrackingAndReleaseJobPartitionsFor(org.apache.flink.api.common.JobID producingJobId)
Releases all partitions for the given job and stop the tracking of partitions that were
released.
|
isPartitionTracked, isTrackingPartitionsFor, stopTrackingPartitions, stopTrackingPartitionsForclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisPartitionTracked, isTrackingPartitionsFor, stopTrackingPartitions, stopTrackingPartitionsForpublic TaskExecutorPartitionTrackerImpl(ShuffleEnvironment<?,?> shuffleEnvironment)
public void startTrackingPartition(org.apache.flink.api.common.JobID producingJobId,
TaskExecutorPartitionInfo partitionInfo)
TaskExecutorPartitionTrackerstartTrackingPartition in interface TaskExecutorPartitionTrackerproducingJobId - ID of job by which the partition is producedpartitionInfo - information about the partitionpublic void stopTrackingAndReleaseJobPartitions(Collection<ResultPartitionID> partitionsToRelease)
TaskExecutorPartitionTrackerstopTrackingAndReleaseJobPartitions in interface TaskExecutorPartitionTrackerpublic void stopTrackingAndReleaseJobPartitionsFor(org.apache.flink.api.common.JobID producingJobId)
TaskExecutorPartitionTrackerstopTrackingAndReleaseJobPartitionsFor in interface TaskExecutorPartitionTrackerpublic void promoteJobPartitions(Collection<ResultPartitionID> partitionsToPromote)
TaskExecutorPartitionTrackerpromoteJobPartitions in interface TaskExecutorPartitionTrackerpublic void stopTrackingAndReleaseClusterPartitions(Collection<IntermediateDataSetID> dataSetsToRelease)
TaskExecutorPartitionTrackerstopTrackingAndReleaseClusterPartitions in interface TaskExecutorPartitionTrackerdataSetsToRelease - data sets to releasepublic void stopTrackingAndReleaseAllClusterPartitions()
TaskExecutorPartitionTrackerstopTrackingAndReleaseAllClusterPartitions in interface TaskExecutorPartitionTrackerpublic ClusterPartitionReport createClusterPartitionReport()
TaskExecutorPartitionTrackerClusterPartitionReport, describing which cluster partitions are currently
available.createClusterPartitionReport in interface TaskExecutorPartitionTrackerCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.