Class LuceneIndexSnapshot

java.lang.Object
com.atlassian.confluence.internal.index.lucene.snapshot.LuceneIndexSnapshot

public class LuceneIndexSnapshot extends Object
A Lucene snapshot created for a particular index, at a particular time.
Since:
7.6.0
  • Constructor Details

    • LuceneIndexSnapshot

      public LuceneIndexSnapshot(JournalIdentifier journalIdentifier, long journalEntryId)
  • Method Details

    • getJournalIdentifier

      public JournalIdentifier getJournalIdentifier()
      Returns:
      Identifier of the journal (index) from which this snapshot has been created
    • getJournalEntryId

      public long getJournalEntryId()
      Returns:
      Position in the journal when this snapshot was created
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object