public static class ResourceAllocationResult.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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() |
public ResourceAllocationResult.Builder addUnfulfillableJob(JobID jobId)
public ResourceAllocationResult.Builder addPendingTaskManagerAllocate(PendingTaskManager pendingTaskManager)
public ResourceAllocationResult.Builder addAllocationOnPendingResource(JobID jobId, PendingTaskManagerId pendingTaskManagerId, ResourceProfile resourceProfile)
public ResourceAllocationResult.Builder addAllocationOnRegisteredResource(JobID jobId, InstanceID instanceId, ResourceProfile resourceProfile)
public ResourceAllocationResult build()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.