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 free, int running, int completed, int failed)
          Instantiates a new container monitor state.
 
Method Summary
 int getCompleted()
          Gets the completed count.
 int getFailed()
          Gets the failed count.
 int getFree()
          Gets the free count.
 int getRunning()
          Gets the running count.
 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 free,
                                                      int running,
                                                      int completed,
                                                      int failed)
Instantiates a new container monitor state.

Parameters:
free - the free count
running - the running count
completed - the completed count
failed - the failed count
Method Detail

getFree

public int getFree()
Gets the free count.

Returns:
the allocated free

getRunning

public int getRunning()
Gets the running count.

Returns:
the running count

getCompleted

public int getCompleted()
Gets the completed count.

Returns:
the completed count

getFailed

public int getFailed()
Gets the failed count.

Returns:
the failed count

toString

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

Spring for Apache Hadoop