public final class ApplicationMasterServiceUtils extends Object
ApplicationMasterServiceProcessor
.Modifier and Type | Method and Description |
---|---|
static void |
addToAllocatedContainers(AllocateResponse allocateResponse,
List<Container> allocatedContainers)
Add allocated containers to
AllocateResponse . |
static void |
addToRejectedSchedulingRequests(AllocateResponse allocateResponse,
List<RejectedSchedulingRequest> rejectedRequests)
Add rejected Scheduling Requests to
AllocateResponse . |
static void |
addToUpdateContainerErrors(AllocateResponse allocateResponse,
List<UpdateContainerError> updateContainerErrors)
Add update container errors to
AllocateResponse . |
static void |
addToUpdatedContainers(AllocateResponse allocateResponse,
ContainerUpdateType updateType,
List<Container> updatedContainers)
Add updated containers to
AllocateResponse . |
public static void addToUpdateContainerErrors(AllocateResponse allocateResponse, List<UpdateContainerError> updateContainerErrors)
AllocateResponse
.allocateResponse
- Allocate Response.updateContainerErrors
- Errors.public static void addToUpdatedContainers(AllocateResponse allocateResponse, ContainerUpdateType updateType, List<Container> updatedContainers)
AllocateResponse
.allocateResponse
- Allocate Response.updateType
- Update Type.updatedContainers
- Updated Containers.public static void addToAllocatedContainers(AllocateResponse allocateResponse, List<Container> allocatedContainers)
AllocateResponse
.allocateResponse
- Allocate Response.allocatedContainers
- Allocated Containers.public static void addToRejectedSchedulingRequests(AllocateResponse allocateResponse, List<RejectedSchedulingRequest> rejectedRequests)
AllocateResponse
.allocateResponse
- Allocate Response.rejectedRequests
- Rejected SchedulingRequests.Copyright © 2008–2021 Apache Software Foundation. All rights reserved.