public class ContainerCompletedEvent extends AbstractYarnEvent
Container has been completed.source| Constructor and Description |
|---|
ContainerCompletedEvent(Object source,
ContainerStatus containerStatus)
Constructs event with the given
ContainerStatus. |
| Modifier and Type | Method and Description |
|---|---|
ContainerStatus |
getContainerStatus()
Gets the container status.
|
String |
toString() |
getTimestampgetSourcepublic ContainerCompletedEvent(Object source, ContainerStatus containerStatus)
ContainerStatus.source - the component that published the event (never null)containerStatus - the container statuspublic ContainerStatus getContainerStatus()
public String toString()
toString in class EventObject