|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerApplication
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract class SchedulerApplication
Represents an Application from the viewpoint of the scheduler. Each running Application in the RM corresponds to one instance of this class.
Constructor Summary | |
---|---|
SchedulerApplication()
|
Method Summary | |
---|---|
abstract org.apache.hadoop.yarn.api.records.ApplicationAttemptId |
getApplicationAttemptId()
Get ApplicationAttemptId of the application master. |
abstract Collection<RMContainer> |
getLiveContainers()
Get the live containers of the application. |
abstract Collection<RMContainer> |
getReservedContainers()
Get the reserved containers of the application. |
abstract boolean |
isPending()
Is this application pending? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchedulerApplication()
Method Detail |
---|
public abstract org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId()
ApplicationAttemptId
of the application master.
ApplicationAttemptId
of the application masterpublic abstract Collection<RMContainer> getLiveContainers()
public abstract Collection<RMContainer> getReservedContainers()
public abstract boolean isPending()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |