Class ClusterIndexSnapshotCreatedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.confluence.event.events.ConfluenceEvent
com.atlassian.confluence.event.events.cluster.ClusterIndexSnapshotCreatedEvent
- All Implemented Interfaces:
ClusterEvent
,Serializable
@AsynchronousPreferred
public class ClusterIndexSnapshotCreatedEvent
extends ConfluenceEvent
implements ClusterEvent
Event to fire to notify other nodes that a snapshot of a lucene index has been created successfully.
This event is used for the index recovery process only.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionClusterIndexSnapshotCreatedEvent
(Object src, String senderNodeId, String receiverNodeId, long journalEntryId, String indexDirName, String indexSnapshotFilename) Construct an event to that includes the name of the generated index snapshot.ClusterIndexSnapshotCreatedEvent
(Object src, String senderNodeId, String receiverNodeId, String indexDirName, String indexSnapshotFilename) Deprecated.since 5.9 -
Method Summary
Modifier and TypeMethodDescriptionlong
Methods inherited from class com.atlassian.confluence.event.events.ConfluenceEvent
equals, hashCode
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ClusterIndexSnapshotCreatedEvent
@Deprecated public ClusterIndexSnapshotCreatedEvent(Object src, String senderNodeId, String receiverNodeId, String indexDirName, String indexSnapshotFilename) Deprecated.since 5.9TODO: delete this constructor after 6.0 -
ClusterIndexSnapshotCreatedEvent
public ClusterIndexSnapshotCreatedEvent(Object src, String senderNodeId, String receiverNodeId, long journalEntryId, String indexDirName, String indexSnapshotFilename) Construct an event to that includes the name of the generated index snapshot.- Since:
- 5.9
-
-
Method Details
-
getSenderNodeId
-
getReceiverNodeId
-
getJournalEntryId
public long getJournalEntryId() -
getIndexDirName
-
getIndexSnapshotFilename
-