| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.api.protocolrecords | |
| org.apache.hadoop.yarn.api.records | 
| Modifier and Type | Method and Description | 
|---|---|
| List<SchedulingRequest> | AllocateRequest. getSchedulingRequests()Get the list of Scheduling requests being sent by the
  ApplicationMaster. | 
| Modifier and Type | Method and Description | 
|---|---|
| AllocateRequest.AllocateRequestBuilder | AllocateRequest.AllocateRequestBuilder. schedulingRequests(List<SchedulingRequest> schedulingRequests)Set the  schedulingRequestsof the request. | 
| void | AllocateRequest. setSchedulingRequests(List<SchedulingRequest> schedulingRequests)Set the list of Scheduling requests to inform the
  ResourceManagerabout the application's resource requirements
 (potentially including allocation tags and placement constraints). | 
| Modifier and Type | Method and Description | 
|---|---|
| SchedulingRequest | SchedulingRequest.SchedulingRequestBuilder. build()Return generated  SchedulingRequestobject. | 
| abstract SchedulingRequest | RejectedSchedulingRequest. getRequest()Get the Rejected Scheduling Request. | 
| static SchedulingRequest | SchedulingRequest. newInstance(long allocationRequestId,
           Priority priority,
           ExecutionTypeRequest executionType,
           Set<String> allocationTags,
           ResourceSizing resourceSizing,
           PlacementConstraint placementConstraintExpression) | 
| Modifier and Type | Method and Description | 
|---|---|
| static RejectedSchedulingRequest | RejectedSchedulingRequest. newInstance(RejectionReason reason,
           SchedulingRequest request)Create new RejectedSchedulingRequest. | 
| abstract void | RejectedSchedulingRequest. setRequest(SchedulingRequest request)Set the SchedulingRequest. | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.