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

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

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract class GetApplicationReportRequest
extends Object

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

The request should include the ApplicationId of the application.

See Also:
ApplicationClientProtocol.getApplicationReport(GetApplicationReportRequest), ApplicationReport

Constructor Summary
GetApplicationReportRequest()
           
 
Method Summary
abstract  ApplicationId getApplicationId()
          Get the ApplicationId of the application.
static GetApplicationReportRequest newInstance(ApplicationId applicationId)
           
abstract  void setApplicationId(ApplicationId applicationId)
          Set the ApplicationId of the application
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetApplicationReportRequest

public GetApplicationReportRequest()
Method Detail

newInstance

@InterfaceAudience.Public
@InterfaceStability.Stable
public static GetApplicationReportRequest newInstance(ApplicationId applicationId)

getApplicationId

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract ApplicationId getApplicationId()
Get the ApplicationId of the application.

Returns:
ApplicationId of the application

setApplicationId

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract void setApplicationId(ApplicationId applicationId)
Set the ApplicationId of the application

Parameters:
applicationId - ApplicationId of the application


Copyright © 2013 Apache Software Foundation. All Rights Reserved.