public class HazelcastClusterEventWrapper extends ClusterEventWrapper implements Serializable, com.hazelcast.nio.serialization.DataSerializable
event
source
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, hashCode
getSource, toString
public 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 ClusterEventWrapper
public void writeData(com.hazelcast.nio.ObjectDataOutput out) throws IOException
writeData
in interface com.hazelcast.nio.serialization.DataSerializable
IOException
public void readData(com.hazelcast.nio.ObjectDataInput in) throws IOException
readData
in interface com.hazelcast.nio.serialization.DataSerializable
IOException
Copyright © 2003–2019 Atlassian. All rights reserved.