public interface ReadableRaftLog
| Modifier and Type | Method and Description |
|---|---|
long |
appendIndex() |
RaftLogCursor |
getEntryCursor(long fromIndex)
Returns a
RaftLogCursor of RaftLogEntrys from the specified index until the end of the log |
long |
prevIndex() |
long |
readEntryTerm(long logIndex)
Reads the term associated with the entry at the supplied index.
|
long appendIndex()
long prevIndex()
long readEntryTerm(long logIndex)
throws IOException
logIndex - The index of the log entry.IOExceptionRaftLogCursor getEntryCursor(long fromIndex) throws IOException
RaftLogCursor of RaftLogEntrys from the specified index until the end of the logfromIndex - The log index at which the cursor should be positionedIOExceptionCopyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.