Class ResourceAllocationResult.Builder
- java.lang.Object
-
- org.apache.flink.runtime.resourcemanager.slotmanager.ResourceAllocationResult.Builder
-
- Enclosing class:
- ResourceAllocationResult
public static class ResourceAllocationResult.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceAllocationResult.Builder
addAllocationOnPendingResource(JobID jobId, PendingTaskManagerId pendingTaskManagerId, ResourceProfile resourceProfile)
ResourceAllocationResult.Builder
addAllocationOnRegisteredResource(JobID jobId, InstanceID instanceId, ResourceProfile resourceProfile)
ResourceAllocationResult.Builder
addPendingTaskManagerAllocate(PendingTaskManager pendingTaskManager)
ResourceAllocationResult.Builder
addUnfulfillableJob(JobID jobId)
ResourceAllocationResult
build()
-
-
-
Method Detail
-
addUnfulfillableJob
public ResourceAllocationResult.Builder addUnfulfillableJob(JobID jobId)
-
addPendingTaskManagerAllocate
public ResourceAllocationResult.Builder addPendingTaskManagerAllocate(PendingTaskManager pendingTaskManager)
-
addAllocationOnPendingResource
public ResourceAllocationResult.Builder addAllocationOnPendingResource(JobID jobId, PendingTaskManagerId pendingTaskManagerId, ResourceProfile resourceProfile)
-
addAllocationOnRegisteredResource
public ResourceAllocationResult.Builder addAllocationOnRegisteredResource(JobID jobId, InstanceID instanceId, ResourceProfile resourceProfile)
-
build
public ResourceAllocationResult build()
-
-