public class JobMasterPartitionTrackerImpl extends AbstractPartitionTracker<ResourceID,ResultPartitionDeploymentDescriptor> implements JobMasterPartitionTracker
| Constructor and Description |
|---|
JobMasterPartitionTrackerImpl(org.apache.flink.api.common.JobID jobId,
ShuffleMaster<?> shuffleMaster,
PartitionTrackerFactory.TaskExecutorGatewayLookup taskExecutorGatewayLookup) |
| Modifier and Type | Method and Description |
|---|---|
void |
startTrackingPartition(ResourceID producingTaskExecutorId,
ResultPartitionDeploymentDescriptor resultPartitionDeploymentDescriptor)
Starts the tracking of the given partition for the given task executor ID.
|
void |
stopTrackingAndReleaseOrPromotePartitionsFor(ResourceID producingTaskExecutorId)
Releases all job partitions and promotes all cluster partitions for the given task executor ID, and stops the tracking of partitions that were released/promoted.
|
void |
stopTrackingAndReleasePartitions(Collection<ResultPartitionID> resultPartitionIds)
Releases the given partitions and stop the tracking of partitions that were released.
|
void |
stopTrackingAndReleasePartitionsFor(ResourceID producingTaskExecutorId)
Releases all partitions for the given task executor ID, 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 JobMasterPartitionTrackerImpl(org.apache.flink.api.common.JobID jobId,
ShuffleMaster<?> shuffleMaster,
PartitionTrackerFactory.TaskExecutorGatewayLookup taskExecutorGatewayLookup)
public void startTrackingPartition(ResourceID producingTaskExecutorId, ResultPartitionDeploymentDescriptor resultPartitionDeploymentDescriptor)
JobMasterPartitionTrackerstartTrackingPartition in interface JobMasterPartitionTrackerproducingTaskExecutorId - ID of task executor on which the partition is producedresultPartitionDeploymentDescriptor - deployment descriptor of the partitionpublic void stopTrackingAndReleasePartitions(Collection<ResultPartitionID> resultPartitionIds)
JobMasterPartitionTrackerstopTrackingAndReleasePartitions in interface JobMasterPartitionTrackerpublic void stopTrackingAndReleasePartitionsFor(ResourceID producingTaskExecutorId)
JobMasterPartitionTrackerstopTrackingAndReleasePartitionsFor in interface JobMasterPartitionTrackerpublic void stopTrackingAndReleaseOrPromotePartitionsFor(ResourceID producingTaskExecutorId)
JobMasterPartitionTrackerstopTrackingAndReleaseOrPromotePartitionsFor in interface JobMasterPartitionTrackerCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.