org.springframework.yarn.event
Class ContainerLaunchedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.yarn.event.AbstractYarnEvent
org.springframework.yarn.event.ContainerLaunchedEvent
- All Implemented Interfaces:
- Serializable
public class ContainerLaunchedEvent
- extends AbstractYarnEvent
Generic event representing that Container has been launched.
- Author:
- Janne Valkealahti
- See Also:
- Serialized Form
ContainerLaunchedEvent
public ContainerLaunchedEvent(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