Java org.apache.hadoop.yarn.api.protocolrecords AllocateRequest fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.yarn.api.protocolrecords AllocateRequest fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.yarn.api.protocolrecords AllocateRequest.

The text is from its open source code.

Method

ListgetAskList()
Get the list of ResourceRequest to update the ResourceManager about the application's resource requirements.
AllocateRequestnewInstance(int responseID, float appProgress, List resourceAsk, List containersToBeReleased, ResourceBlacklistRequest resourceBlacklistRequest)
voidsetAskList(List resourceRequests)
Set list of ResourceRequest to update the ResourceManager about the application's resource requirements.
voidsetProgress(float progress)
Set the current progress of application
voidsetReleaseList(List releaseContainers)
Set the list of ContainerId of containers being released by the ApplicationMaster
voidsetResponseId(int id)
Set the response id used to track duplicate responses.