|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface YarnEventPublisher
Interface for publishing Yarn based application events.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
void publishContainerAllocated(Object source,
Container container)
Container.
source - the component that published the event (never null)container - the Container
void publishContainerLaunched(Object source,
Container container)
Container.
source - the component that published the event (never null)container - the Container
void publishContainerLaunchRequestFailed(Object source,
Container container)
Container launch request.
source - the component that published the event (never null)container - the Container
void 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||