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 Summary
Constructors Constructor Description LuceneIndexSnapshot(JournalIdentifier journalIdentifier, long journalEntryId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
long
getJournalEntryId()
JournalIdentifier
getJournalIdentifier()
int
hashCode()
String
toString()
-
-
-
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
-
-