Spring for Apache Hadoop

org.springframework.yarn.listener
Class ContainerMonitorListener.ContainerMonitorState

java.lang.Object
  extended by org.springframework.yarn.listener.ContainerMonitorListener.ContainerMonitorState
Enclosing interface:
ContainerMonitorListener

public static class ContainerMonitorListener.ContainerMonitorState
extends java.lang.Object

Class holding state info.


Constructor Summary
ContainerMonitorListener.ContainerMonitorState(int allocated, int completed, int failed, double progress)
          Instantiates a new container monitor state.
 
Method Summary
 int getAllocated()
          Gets the allocated.
 int getCompleted()
          Gets the completed.
 int getFailed()
          Gets the failed.
 double getProgress()
          Gets the progress.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContainerMonitorListener.ContainerMonitorState

public ContainerMonitorListener.ContainerMonitorState(int allocated,
                                                      int completed,
                                                      int failed,
                                                      double progress)
Instantiates a new container monitor state.

Parameters:
allocated - the allocated
completed - the completed
failed - the failed
progress - the progress
Method Detail

getAllocated

public int getAllocated()
Gets the allocated.

Returns:
the allocated

getCompleted

public int getCompleted()
Gets the completed.

Returns:
the completed

getFailed

public int getFailed()
Gets the failed.

Returns:
the failed

getProgress

public double getProgress()
Gets the progress.

Returns:
the progress

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Spring for Apache Hadoop