|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.yarn.listener.AbstractCompositeListener<ContainerAllocatorListener> org.springframework.yarn.listener.CompositeContainerAllocatorListener
public class CompositeContainerAllocatorListener
Composite listener for handling allocation events.
Constructor Summary | |
---|---|
CompositeContainerAllocatorListener()
|
Method Summary | |
---|---|
void |
allocated(java.util.List<org.apache.hadoop.yarn.api.records.Container> allocatedContainers)
Invoked when new containers are allocated. |
void |
completed(java.util.List<org.apache.hadoop.yarn.api.records.ContainerStatus> completedContainers)
Invoked when containers are releases and thus marked as completed. |
Methods inherited from class org.springframework.yarn.listener.AbstractCompositeListener |
---|
getListeners, register, setListeners |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompositeContainerAllocatorListener()
Method Detail |
---|
public void allocated(java.util.List<org.apache.hadoop.yarn.api.records.Container> allocatedContainers)
ContainerAllocatorListener
allocated
in interface ContainerAllocatorListener
allocatedContainers
- list of allocated Container
spublic void completed(java.util.List<org.apache.hadoop.yarn.api.records.ContainerStatus> completedContainers)
ContainerAllocatorListener
completed
in interface ContainerAllocatorListener
completedContainers
- list of completed ContainerStatus
s
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |