org.apache.hadoop.yarn.api.protocolrecords
Class GetApplicationAttemptReportRequest

java.lang.Object
  extended by org.apache.hadoop.yarn.api.protocolrecords.GetApplicationAttemptReportRequest

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract class GetApplicationAttemptReportRequest
extends Object

The request sent by a client to the ResourceManager to get an ApplicationAttemptReport for an application attempt.

The request should include the ApplicationAttemptId of the application attempt.

See Also:
ApplicationAttemptReport, ApplicationHistoryProtocol.getApplicationAttemptReport(GetApplicationAttemptReportRequest)

Constructor Summary
GetApplicationAttemptReportRequest()
           
 
Method Summary
abstract  ApplicationAttemptId getApplicationAttemptId()
          Get the ApplicationAttemptId of an application attempt.
static GetApplicationAttemptReportRequest newInstance(ApplicationAttemptId applicationAttemptId)
           
abstract  void setApplicationAttemptId(ApplicationAttemptId applicationAttemptId)
          Set the ApplicationAttemptId of an application attempt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetApplicationAttemptReportRequest

public GetApplicationAttemptReportRequest()
Method Detail

newInstance

@InterfaceAudience.Public
@InterfaceStability.Unstable
public static GetApplicationAttemptReportRequest newInstance(ApplicationAttemptId applicationAttemptId)

getApplicationAttemptId

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract ApplicationAttemptId getApplicationAttemptId()
Get the ApplicationAttemptId of an application attempt.

Returns:
ApplicationAttemptId of an application attempt

setApplicationAttemptId

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract void setApplicationAttemptId(ApplicationAttemptId applicationAttemptId)
Set the ApplicationAttemptId of an application attempt

Parameters:
applicationAttemptId - ApplicationAttemptId of an application attempt


Copyright © 2014 Apache Software Foundation. All Rights Reserved.