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