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

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

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

The request sent by the ApplicationMaster to the NodeManager to get ContainerStatus of requested containers.

See Also:
ContainerManagementProtocol.getContainerStatuses(GetContainerStatusesRequest)

Constructor Summary
GetContainerStatusesRequest()
           
 
Method Summary
abstract  List<ContainerId> getContainerIds()
          Get the list of ContainerIds of containers for which to obtain the ContainerStatus.
static GetContainerStatusesRequest newInstance(List<ContainerId> containerIds)
           
abstract  void setContainerIds(List<ContainerId> containerIds)
          Set a list of ContainerIds of containers for which to obtain the ContainerStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetContainerStatusesRequest

public GetContainerStatusesRequest()
Method Detail

newInstance

@InterfaceAudience.Public
@InterfaceStability.Stable
public static GetContainerStatusesRequest newInstance(List<ContainerId> containerIds)

getContainerIds

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract List<ContainerId> getContainerIds()
Get the list of ContainerIds of containers for which to obtain the ContainerStatus.

Returns:
the list of ContainerIds of containers for which to obtain the ContainerStatus.

setContainerIds

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract void setContainerIds(List<ContainerId> containerIds)
Set a list of ContainerIds of containers for which to obtain the ContainerStatus

Parameters:
containerIds - a list of ContainerIds of containers for which to obtain the ContainerStatus


Copyright © 2014 Apache Software Foundation. All Rights Reserved.