|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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
Type of event. |
Constructor Summary | |
---|---|
DistributedObjectEvent(DistributedObjectEvent.EventType eventType,
String serviceName,
DistributedObject distributedObject)
Constructs a DistributedObject Event. |
Method Summary | |
---|---|
DistributedObject |
getDistributedObject()
Returns the DistributedObject instance. |
DistributedObjectEvent.EventType |
getEventType()
Returns the type of this event; one of DistributedObjectEvent.EventType.CREATED or DistributedObjectEvent.EventType.DESTROYED . |
Object |
getObjectId()
Returns the identifier of related DistributedObject. |
String |
getServiceName()
Returns the 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)
eventType
- The event type as an enum DistributedObjectEvent.EventType
integer.serviceName
- The service name of the DistributedObject.distributedObject
- The DistributedObject for the event.Method Detail |
---|
public String getServiceName()
public DistributedObjectEvent.EventType getEventType()
DistributedObjectEvent.EventType.CREATED
or DistributedObjectEvent.EventType.DESTROYED
.
DistributedObjectEvent.EventType
.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 |