public class TaskDeploymentDescriptorFactory extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TaskDeploymentDescriptorFactory.PartitionLocationConstraint
Defines whether the partition's location must be known at deployment time or can be unknown
and, therefore, updated later.
|
| 限定符和类型 | 方法和说明 |
|---|---|
TaskDeploymentDescriptor |
createDeploymentDescriptor(AllocationID allocationID,
JobManagerTaskRestore taskRestore,
Collection<ResultPartitionDeploymentDescriptor> producedPartitions) |
static TaskDeploymentDescriptorFactory |
fromExecutionVertex(ExecutionVertex executionVertex,
int attemptNumber) |
static ShuffleDescriptor |
getConsumedPartitionShuffleDescriptor(IntermediateResultPartition consumedPartition,
TaskDeploymentDescriptorFactory.PartitionLocationConstraint partitionDeploymentConstraint) |
public TaskDeploymentDescriptor createDeploymentDescriptor(AllocationID allocationID, @Nullable JobManagerTaskRestore taskRestore, Collection<ResultPartitionDeploymentDescriptor> producedPartitions) throws IOException
IOExceptionpublic static TaskDeploymentDescriptorFactory fromExecutionVertex(ExecutionVertex executionVertex, int attemptNumber) throws IOException
IOExceptionpublic static ShuffleDescriptor getConsumedPartitionShuffleDescriptor(IntermediateResultPartition consumedPartition, TaskDeploymentDescriptorFactory.PartitionLocationConstraint partitionDeploymentConstraint)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.