public class MonitoredRaftLog extends DelegatingRaftLog
PHYSICAL_LOG_DIRECTORY_NAME| Constructor and Description |
|---|
MonitoredRaftLog(RaftLog delegate,
org.neo4j.kernel.monitoring.Monitors monitors) |
| Modifier and Type | Method and Description |
|---|---|
long |
append(RaftLogEntry... entries)
Appends entry to the end of the log.
|
void |
truncate(long fromIndex)
Truncates the log starting from the supplied index.
|
appendIndex, getEntryCursor, prevIndex, prune, readEntryTerm, skippublic MonitoredRaftLog(RaftLog delegate, org.neo4j.kernel.monitoring.Monitors monitors)
public long append(RaftLogEntry... entries) throws IOException
RaftLogappend in interface RaftLogappend in class DelegatingRaftLogentries - The log entry.IOExceptionpublic void truncate(long fromIndex)
throws IOException
RaftLogtruncate in interface RaftLogtruncate in class DelegatingRaftLogfromIndex - The start index (inclusive).IOExceptionCopyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.