public interface Excerpt extends ExcerptTailer
ChronicleQueue, an extended version of ExcerptTailer
which also facilitates random access.| Modifier and Type | Method and Description |
|---|---|
long |
findMatch(ExcerptComparator comparator)
Find any entry which return a match i.e.
|
void |
findRange(long[] startEnd,
ExcerptComparator comparator)
Find entries which return a match.
|
boolean |
moveToIndex(long index)
Randomly select an Excerpt.
|
Excerpt |
toEnd()
Wind to the upper.
|
Excerpt |
toStart()
Replay from the lower.
|
cycle, index, readBytes, readBytes, readDocument, readingDocumentprefetchlong findMatch(@NotNull
ExcerptComparator comparator)
comparator - to use for comparison.void findRange(@NotNull
long[] startEnd,
@NotNull
ExcerptComparator comparator)
startEnd - lower (inclusive) to upper (exclusive). Will be equal if no exact match is
found.comparator - to use for comparison.boolean moveToIndex(long index)
moveToIndex in interface ExcerptTailerindex - index to look up@NotNull Excerpt toStart()
toStart in interface ExcerptTailer@NotNull Excerpt toEnd()
toEnd in interface ExcerptTailerCopyright © 2016. All rights reserved.