public class HazelcastClusterEventWrapper extends ClusterEventWrapper implements Serializable, com.hazelcast.nio.serialization.DataSerializable
eventsource| Constructor and Description |
|---|
HazelcastClusterEventWrapper() |
HazelcastClusterEventWrapper(Object src,
com.atlassian.event.Event event)
Create a clustered wrapper event to broadcast an event across a cluster.
|
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.event.Event |
getEvent() |
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out) |
equals, hashCodegetSource, toStringpublic HazelcastClusterEventWrapper(Object src, com.atlassian.event.Event event)
src - an Object which represents where the event came from. In the case of clustered events,
the recommended src value is a ClusterNodeInformation object.event - an event to be wrappedpublic HazelcastClusterEventWrapper()
public com.atlassian.event.Event getEvent()
getEvent in class ClusterEventWrapperpublic void writeData(com.hazelcast.nio.ObjectDataOutput out)
throws IOException
writeData in interface com.hazelcast.nio.serialization.DataSerializableIOExceptionpublic void readData(com.hazelcast.nio.ObjectDataInput in)
throws IOException
readData in interface com.hazelcast.nio.serialization.DataSerializableIOExceptionCopyright © 2003–2019 Atlassian. All rights reserved.