public class DistributedObjectEvent extends Object
DistributedObject
 is created or destroyed cluster-wide.DistributedObject, 
DistributedObjectListener| Modifier and Type | Class and Description | 
|---|---|
static class  | 
DistributedObjectEvent.EventType  | 
| Constructor and Description | 
|---|
DistributedObjectEvent(DistributedObjectEvent.EventType eventType,
                      String serviceName,
                      DistributedObject distributedObject)  | 
| Modifier and Type | Method and Description | 
|---|---|
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()  | 
public DistributedObjectEvent(DistributedObjectEvent.EventType eventType, String serviceName, DistributedObject distributedObject)
public String getServiceName()
public DistributedObjectEvent.EventType getEventType()
DistributedObjectEvent.EventType.CREATED or DistributedObjectEvent.EventType.DESTROYEDpublic Object getObjectId()
public DistributedObject getDistributedObject()
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.