|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hazelcast.wan.WanReplicationEvent
public class WanReplicationEvent
Event class used to transmit the actual event object
| Constructor Summary | |
|---|---|
WanReplicationEvent()
|
|
WanReplicationEvent(String serviceName,
ReplicationEventObject eventObject)
|
|
| Method Summary | |
|---|---|
Object |
getEventObject()
Gets the event object. |
String |
getServiceName()
Returns the service name for this event object. |
void |
readData(ObjectDataInput in)
Reads fields from the input stream |
void |
setEventObject(ReplicationEventObject eventObject)
Sets the event object. |
void |
setServiceName(String serviceName)
Sets the service name for this event object. |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WanReplicationEvent()
public WanReplicationEvent(String serviceName,
ReplicationEventObject eventObject)
| Method Detail |
|---|
public String getServiceName()
public void setServiceName(String serviceName)
serviceName - the service name for this event object.public Object getEventObject()
public void setEventObject(ReplicationEventObject eventObject)
eventObject - the event object.
public void writeData(ObjectDataOutput out)
throws IOException
DataSerializable
writeData in interface DataSerializableout - output
IOException
public void readData(ObjectDataInput in)
throws IOException
DataSerializable
readData in interface DataSerializablein - input
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||