public class TaskDeploymentDescriptorFactory extends Object
Modifier and Type | Method and Description |
---|---|
TaskDeploymentDescriptor |
createDeploymentDescriptor(AllocationID allocationID,
int targetSlotNumber,
JobManagerTaskRestore taskRestore,
Collection<ResultPartitionDeploymentDescriptor> producedPartitions) |
static TaskDeploymentDescriptorFactory |
fromExecutionVertex(ExecutionVertex executionVertex,
int attemptNumber) |
static ShuffleDescriptor |
getConsumedPartitionShuffleDescriptor(ExecutionEdge edge,
boolean allowUnknownPartitions) |
public TaskDeploymentDescriptor createDeploymentDescriptor(AllocationID allocationID, int targetSlotNumber, @Nullable JobManagerTaskRestore taskRestore, Collection<ResultPartitionDeploymentDescriptor> producedPartitions)
public static TaskDeploymentDescriptorFactory fromExecutionVertex(ExecutionVertex executionVertex, int attemptNumber) throws IOException
IOException
public static ShuffleDescriptor getConsumedPartitionShuffleDescriptor(ExecutionEdge edge, boolean allowUnknownPartitions)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.