public class ContainerEjectedEvent extends java.lang.Object implements IContainerEjectedEvent
Constructor and Description |
---|
ContainerEjectedEvent(ID localContainerID,
ID targetID,
java.io.Serializable reason) |
Modifier and Type | Method and Description |
---|---|
ID |
getLocalContainerID()
Get ID of local discovery container (the discovery container receiving this event).
|
java.io.Serializable |
getReason()
Get reason for ejection
|
ID |
getTargetID()
Get ID of container target (the container we were ejected from)
|
java.lang.String |
toString() |
public ID getTargetID()
IContainerEjectedEvent
getTargetID
in interface IContainerEjectedEvent
public ID getLocalContainerID()
IContainerEvent
getLocalContainerID
in interface IContainerEvent
null
.public java.io.Serializable getReason()
IContainerEjectedEvent
getReason
in interface IContainerEjectedEvent
public java.lang.String toString()
toString
in class java.lang.Object