Class LuceneIndexSnapshot


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

      • LuceneIndexSnapshot

        public LuceneIndexSnapshot​(JournalIdentifier journalIdentifier,
                                   long journalEntryId)
    • Method Detail

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

        public int hashCode()
        Overrides:
        hashCode in class Object