org.apache.hadoop.yarn.api.protocolrecords
Class GetApplicationsResponse
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsResponse
@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract class GetApplicationsResponse
- extends Object
The response sent by the ResourceManager to a client
requesting an ApplicationReport for applications.
The ApplicationReport for each application includes details
such as user, queue, name, host on which the ApplicationMaster
is running, RPC port, tracking URL, diagnostics, start time etc.
- See Also:
ApplicationReport,
ApplicationClientProtocol.getApplications(GetApplicationsRequest)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetApplicationsResponse
public GetApplicationsResponse()
newInstance
@InterfaceAudience.Private
@InterfaceStability.Unstable
public static GetApplicationsResponse newInstance(List<ApplicationReport> applications)
getApplicationList
@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract List<ApplicationReport> getApplicationList()
- Get
ApplicationReport for applications.
- Returns:
ApplicationReport for applications
setApplicationList
@InterfaceAudience.Private
@InterfaceStability.Unstable
public abstract void setApplicationList(List<ApplicationReport> applications)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.