|
Spring for Apache Hadoop | ||||||||
| 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(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. |
| Method Detail |
|---|
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 Container
void 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 Container
void 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 Container
void 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
|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||