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:
  • Constructor Details

    • ClusterIndexSnapshotCreatedEvent

      @Deprecated public ClusterIndexSnapshotCreatedEvent(Object src, String senderNodeId, String receiverNodeId, String indexDirName, String indexSnapshotFilename)
      Deprecated.
      since 5.9
      TODO: 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

      public String getSenderNodeId()
    • getReceiverNodeId

      public String getReceiverNodeId()
    • getJournalEntryId

      public long getJournalEntryId()
    • getIndexDirName

      public String getIndexDirName()
    • getIndexSnapshotFilename

      public String getIndexSnapshotFilename()