public class ContainerRegisterEvent extends AbstractYarnEvent
Container
has been registered. This
event is usually sent into context via boot endpoint handling registering
http posts from a YARN containers.Constructor and Description |
---|
ContainerRegisterEvent(java.lang.Object source,
java.lang.String containerId,
java.lang.String trackUrl)
Instantiates a new container register event.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContainerId()
Gets the container id.
|
java.lang.String |
getTrackUrl()
Gets the track url.
|
java.lang.String |
toString() |
public ContainerRegisterEvent(java.lang.Object source, java.lang.String containerId, java.lang.String trackUrl)
source
- the sourcecontainerId
- the container idtrackUrl
- the track urlpublic java.lang.String getContainerId()
public java.lang.String getTrackUrl()
public java.lang.String toString()
toString
in class java.util.EventObject