public class

ClusterEventWrapper

extends ConfluenceEvent
implements Serializable
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

Class Overview

Wraps an event for transmission to other nodes in the cluster.

The EventInvocable is responsible for actually putting this event on the com.atlassian.event.EventManager queue on the remote nodes.

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
ClusterEventWrapper(Object src, Event event)
Create a clustered wrapper event to broadcast an event across a cluster.
Public Methods
Event getEvent()
[Expand]
Inherited Methods
From class com.atlassian.event.Event
From class org.springframework.context.ApplicationEvent
From class java.util.EventObject
From class java.lang.Object

Public Constructors

public ClusterEventWrapper (Object src, 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 a ClusterNodeInformation object.
event an event to be wrapped

Public Methods

public Event getEvent ()

Returns
  • the wrapped event