Class ClusterEventWrapper
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- com.atlassian.event.Event
-
- com.atlassian.confluence.event.events.ConfluenceEvent
-
- com.atlassian.confluence.event.events.cluster.ClusterEventWrapper
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
HazelcastClusterEventWrapper
public class ClusterEventWrapper extends ConfluenceEvent implements Serializable
Wraps an event for transmission to other nodes in the cluster.- See Also:
ClusterEventBroadcaster
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected com.atlassian.event.Event
event
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description ClusterEventWrapper(Object src, com.atlassian.event.Event event)
Create a clustered wrapper event to broadcast an event across a cluster.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.atlassian.event.Event
getEvent()
-
Methods inherited from class com.atlassian.confluence.event.events.ConfluenceEvent
equals, hashCode
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
ClusterEventWrapper
public ClusterEventWrapper(Object src, com.atlassian.event.Event event)
Create a clustered wrapper event to broadcast an event across a cluster.- Parameters:
src
- an Object which represents where the event came from. In the case of clustered events, the recommended src value is aClusterNodeInformation
object.event
- an event to be wrapped
-
-