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

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

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

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

See Also:
ApplicationHistoryProtocol.getContainers(GetContainersRequest)

Constructor Summary
GetContainersRequest()
           
 
Method Summary
abstract  ApplicationAttemptId getApplicationAttemptId()
          Get the ApplicationAttemptId of an application attempt.
static GetContainersRequest 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

GetContainersRequest

public GetContainersRequest()
Method Detail

newInstance

@InterfaceAudience.Public
@InterfaceStability.Unstable
public static GetContainersRequest 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.