public interface YarnEventPublisher
| Modifier and Type | Method and Description |
|---|---|
void |
publishContainerAllocated(java.lang.Object source,
org.apache.hadoop.yarn.api.records.Container container)
Publish an application event containing information
about the allocated
Container. |
void |
publishContainerCompleted(java.lang.Object source,
org.apache.hadoop.yarn.api.records.ContainerStatus status)
Publish an application event containing information
about the completed
ContainerStatus. |
void |
publishContainerLaunched(java.lang.Object source,
org.apache.hadoop.yarn.api.records.Container container)
Publish an application event containing information
about the launched
Container. |
void |
publishContainerLaunchRequestFailed(java.lang.Object source,
org.apache.hadoop.yarn.api.records.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(java.lang.Object source,
org.apache.hadoop.yarn.api.records.Container container)
Container.source - the component that published the event (never null)container - the Containervoid publishContainerLaunched(java.lang.Object source,
org.apache.hadoop.yarn.api.records.Container container)
Container.source - the component that published the event (never null)container - the Containervoid publishContainerLaunchRequestFailed(java.lang.Object source,
org.apache.hadoop.yarn.api.records.Container container)
Container launch request.source - the component that published the event (never null)container - the Containervoid publishContainerCompleted(java.lang.Object source,
org.apache.hadoop.yarn.api.records.ContainerStatus status)
ContainerStatus.source - the component that published the event (never null)status - the Container statusvoid publishEvent(AbstractYarnEvent event)
AbstractYarnEvent.event - the event