Class GetApplicationAttemptsResponse
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.GetApplicationAttemptsResponse
The response sent by the ResourceManager to a client requesting
a list of ApplicationAttemptReport for application attempts.
The ApplicationAttemptReport for each application includes the
details of an application attempt.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<ApplicationAttemptReport>Get a list ofApplicationReportof an application.newInstance(List<ApplicationAttemptReport> applicationAttempts) abstract voidsetApplicationAttemptList(List<ApplicationAttemptReport> applicationAttempts) Get a list ofApplicationReportof an application.
-
Constructor Details
-
GetApplicationAttemptsResponse
public GetApplicationAttemptsResponse()
-
-
Method Details
-
newInstance
@Public @Unstable public static GetApplicationAttemptsResponse newInstance(List<ApplicationAttemptReport> applicationAttempts) -
getApplicationAttemptList
Get a list ofApplicationReportof an application.- Returns:
- a list of
ApplicationReportof an application
-
setApplicationAttemptList
@Public @Unstable public abstract void setApplicationAttemptList(List<ApplicationAttemptReport> applicationAttempts) Get a list ofApplicationReportof an application.- Parameters:
applicationAttempts- a list ofApplicationReportof an application
-