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

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

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

The request from clients to get a list of application attempt reports of an application from the ResourceManager.

See Also:
ApplicationHistoryProtocol.getApplicationAttempts(GetApplicationAttemptsRequest)

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

Constructor Detail

GetApplicationAttemptsRequest

public GetApplicationAttemptsRequest()
Method Detail

newInstance

@InterfaceAudience.Public
@InterfaceStability.Unstable
public static GetApplicationAttemptsRequest newInstance(ApplicationId applicationId)

getApplicationId

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

Returns:
ApplicationId of an application

setApplicationId

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

Parameters:
applicationId - ApplicationId of an application


Copyright © 2014 Apache Software Foundation. All Rights Reserved.