public interface YarnEventPublisher
| Modifier and Type | Method and Description |
|---|---|
void |
publishContainerAllocated(Object source,
Container container)
Publish an application event containing information
about the allocated
Container. |
void |
publishContainerCompleted(Object source,
ContainerStatus status)
Publish an application event containing information
about the completed
ContainerStatus. |
void |
publishContainerLaunched(Object source,
Container container)
Publish an application event containing information
about the launched
Container. |
void |
publishContainerLaunchRequestFailed(Object source,
Container container)
Publish an application event containing information
about the failed
Container launch request. |
void |
publishEvent(AbstractYarnEvent event)
Publish a general application event of type
AbstractYarnEvent. |
void publishContainerAllocated(Object source, Container container)
Container.source - the component that published the event (never null)container - the Containervoid publishContainerLaunched(Object source, Container container)
Container.source - the component that published the event (never null)container - the Containervoid publishContainerLaunchRequestFailed(Object source, Container container)
Container launch request.source - the component that published the event (never null)container - the Containervoid publishContainerCompleted(Object source, ContainerStatus status)
ContainerStatus.source - the component that published the event (never null)status - the Container statusvoid publishEvent(AbstractYarnEvent event)
AbstractYarnEvent.event - the event