org.springframework.yarn.event
Class ContainerLaunchRequestFailedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.yarn.event.AbstractYarnEvent
org.springframework.yarn.event.ContainerLaunchRequestFailedEvent
- All Implemented Interfaces:
- Serializable
public class ContainerLaunchRequestFailedEvent
- extends AbstractYarnEvent
Generic event representing that Container launch request has failed.
This event is not an indication that container somewhat failed what is
was supposed to do, instead failure indicates a failed request to
start a container.
- Author:
- Janne Valkealahti
- See Also:
- Serialized Form
ContainerLaunchRequestFailedEvent
public ContainerLaunchRequestFailedEvent(Object source,
Container container)
- Constructs event with the given
Container.
- Parameters:
source - the component that published the event (never null)container - the Container
getContainer
public Container getContainer()
- Gets the container.
- Returns:
- the container
toString
public String toString()
- Overrides:
toString in class EventObject