Class 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:
    Serialized Form
    • Constructor Detail

      • 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 Detail

      • getSenderNodeId

        public String getSenderNodeId()
      • getReceiverNodeId

        public String getReceiverNodeId()
      • getJournalEntryId

        public long getJournalEntryId()
      • getIndexDirName

        public String getIndexDirName()
      • getIndexSnapshotFilename

        public String getIndexSnapshotFilename()