public class TruncateLogCommand extends Object implements RaftLogCommand
RaftLogCommand.Handler| Modifier and Type | Field and Description |
|---|---|
long |
fromIndex |
| Constructor and Description |
|---|
TruncateLogCommand(long fromIndex) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyTo(InFlightMap<RaftLogEntry> inFlightMap,
org.neo4j.logging.Log log) |
void |
applyTo(RaftLog raftLog,
org.neo4j.logging.Log log) |
void |
dispatch(RaftLogCommand.Handler handler) |
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
public void dispatch(RaftLogCommand.Handler handler) throws IOException
dispatch in interface RaftLogCommandIOExceptionpublic void applyTo(RaftLog raftLog, org.neo4j.logging.Log log) throws IOException
applyTo in interface RaftLogCommandIOExceptionpublic void applyTo(InFlightMap<RaftLogEntry> inFlightMap, org.neo4j.logging.Log log) throws IOException
applyTo in interface RaftLogCommandIOExceptionCopyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.