|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hazelcast.core.DistributedObjectEvent
public class DistributedObjectEvent
DistributedObjectEvent is fired when a DistributedObject
is created or destroyed cluster-wide.
DistributedObject
,
DistributedObjectListener
Nested Class Summary | |
---|---|
static class |
DistributedObjectEvent.EventType
|
Constructor Summary | |
---|---|
DistributedObjectEvent(DistributedObjectEvent.EventType eventType,
String serviceName,
DistributedObject distributedObject)
|
Method Summary | |
---|---|
DistributedObject |
getDistributedObject()
Returns DistributedObject instance |
DistributedObjectEvent.EventType |
getEventType()
Returns type of this event; one of DistributedObjectEvent.EventType.CREATED or DistributedObjectEvent.EventType.DESTROYED |
Object |
getObjectId()
Returns identifier of related DistributedObject |
String |
getServiceName()
Returns service name of related DistributedObject |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DistributedObjectEvent(DistributedObjectEvent.EventType eventType, String serviceName, DistributedObject distributedObject)
Method Detail |
---|
public String getServiceName()
public DistributedObjectEvent.EventType getEventType()
DistributedObjectEvent.EventType.CREATED
or DistributedObjectEvent.EventType.DESTROYED
public Object getObjectId()
public DistributedObject getDistributedObject()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |