public class BatchAppendLogEntries extends Object implements RaftLogCommand
RaftLogCommand.Handler| Modifier and Type | Field and Description |
|---|---|
long |
baseIndex |
RaftLogEntry[] |
entries |
int |
offset |
| Constructor and Description |
|---|
BatchAppendLogEntries(long baseIndex,
int offset,
RaftLogEntry[] entries) |
| 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 final long baseIndex
public final int offset
public final RaftLogEntry[] entries
public BatchAppendLogEntries(long baseIndex,
int offset,
RaftLogEntry[] entries)
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)
applyTo in interface RaftLogCommandCopyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.