public class TaskExecutorPartitionTrackerImpl extends AbstractPartitionTracker<org.apache.flink.api.common.JobID,TaskExecutorPartitionInfo> implements TaskExecutorPartitionTracker
partitionInfos, partitionTable| 构造器和说明 |
|---|
TaskExecutorPartitionTrackerImpl(ShuffleEnvironment<?,?> shuffleEnvironment) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 TaskExecutorPartitionTrackerproducingJobId - ID of job by which the partition is producedpartitionInfo - information about the partitionpublic void stopTrackingAndReleaseJobPartitions(Collection<ResultPartitionID> partitionsToRelease)
TaskExecutorPartitionTrackerpublic void stopTrackingAndReleaseJobPartitionsFor(org.apache.flink.api.common.JobID producingJobId)
TaskExecutorPartitionTrackerpublic void promoteJobPartitions(Collection<ResultPartitionID> partitionsToPromote)
TaskExecutorPartitionTrackerpublic void stopTrackingAndReleaseClusterPartitions(Collection<IntermediateDataSetID> dataSetsToRelease)
TaskExecutorPartitionTrackerstopTrackingAndReleaseClusterPartitions 在接口中 TaskExecutorPartitionTrackerdataSetsToRelease - data sets to releasepublic void stopTrackingAndReleaseAllClusterPartitions()
TaskExecutorPartitionTrackerpublic ClusterPartitionReport createClusterPartitionReport()
TaskExecutorPartitionTrackerClusterPartitionReport, describing which cluster partitions are currently
available.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.