public class CompositeContainerAllocatorListener extends AbstractCompositeListener<ContainerAllocatorListener> implements ContainerAllocatorListener
| Constructor and Description |
|---|
CompositeContainerAllocatorListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
allocated(List<Container> allocatedContainers)
Invoked when new containers are allocated.
|
void |
completed(List<ContainerStatus> completedContainers)
Invoked when containers are releases and thus
marked as completed.
|
getListeners, register, setListenerspublic void allocated(List<Container> allocatedContainers)
ContainerAllocatorListenerallocated in interface ContainerAllocatorListenerallocatedContainers - list of allocated Containerspublic void completed(List<ContainerStatus> completedContainers)
ContainerAllocatorListenercompleted in interface ContainerAllocatorListenercompletedContainers - list of completed ContainerStatuss