public static class ExecutionVertexSchedulingRequirements.Builder extends Object
ExecutionVertexSchedulingRequirements
.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ExecutionVertexSchedulingRequirements |
build() |
ExecutionVertexSchedulingRequirements.Builder |
withCoLocationConstraint(CoLocationConstraint coLocationConstraint) |
ExecutionVertexSchedulingRequirements.Builder |
withExecutionVertexId(ExecutionVertexID executionVertexId) |
ExecutionVertexSchedulingRequirements.Builder |
withPhysicalSlotResourceProfile(ResourceProfile physicalSlotResourceProfile) |
ExecutionVertexSchedulingRequirements.Builder |
withPreferredLocations(Collection<TaskManagerLocation> preferredLocations) |
ExecutionVertexSchedulingRequirements.Builder |
withPreviousAllocationId(AllocationID previousAllocationId) |
ExecutionVertexSchedulingRequirements.Builder |
withSlotSharingGroupId(SlotSharingGroupId slotSharingGroupId) |
ExecutionVertexSchedulingRequirements.Builder |
withTaskResourceProfile(ResourceProfile taskResourceProfile) |
public ExecutionVertexSchedulingRequirements.Builder withExecutionVertexId(ExecutionVertexID executionVertexId)
public ExecutionVertexSchedulingRequirements.Builder withPreviousAllocationId(AllocationID previousAllocationId)
public ExecutionVertexSchedulingRequirements.Builder withTaskResourceProfile(ResourceProfile taskResourceProfile)
public ExecutionVertexSchedulingRequirements.Builder withPhysicalSlotResourceProfile(ResourceProfile physicalSlotResourceProfile)
public ExecutionVertexSchedulingRequirements.Builder withSlotSharingGroupId(SlotSharingGroupId slotSharingGroupId)
public ExecutionVertexSchedulingRequirements.Builder withCoLocationConstraint(CoLocationConstraint coLocationConstraint)
public ExecutionVertexSchedulingRequirements.Builder withPreferredLocations(Collection<TaskManagerLocation> preferredLocations)
public ExecutionVertexSchedulingRequirements build()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.