Spring for Apache Hadoop

org.springframework.yarn.am.monitor
Interface ContainerAware

All Known Implementing Classes:
DefaultContainerMonitor

public interface ContainerAware

Interface for container monitoring components wanting to be aware of Containers and ContainerStatuss.

Author:
Janne Valkealahti

Method Summary
 void onContainer(java.util.List<org.apache.hadoop.yarn.api.records.Container> containers)
          Called when we potentially have new information about a Containers.
 void onContainerStatus(java.util.List<org.apache.hadoop.yarn.api.records.ContainerStatus> containerStatuses)
          Called when we potentially have new information about a ContainerStatuss.
 

Method Detail

onContainer

void onContainer(java.util.List<org.apache.hadoop.yarn.api.records.Container> containers)
Called when we potentially have new information about a Containers.

Parameters:
containers - the containers

onContainerStatus

void onContainerStatus(java.util.List<org.apache.hadoop.yarn.api.records.ContainerStatus> containerStatuses)
Called when we potentially have new information about a ContainerStatuss.

Parameters:
containerStatuses - the container statuses

Spring for Apache Hadoop