|
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 |
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 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 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 |