public class RaftLogShipper extends Object
It is crucial that all actions happen within the context of the leaders state at some point in time.
| Modifier and Type | Class and Description |
|---|---|
static class |
RaftLogShipper.Timeouts |
| Modifier and Type | Method and Description |
|---|---|
Object |
identity() |
void |
onCommitUpdate(LeaderContext leaderContext) |
void |
onMatch(long newMatchIndex,
LeaderContext leaderContext) |
void |
onMismatch(long lastRemoteAppendIndex,
LeaderContext leaderContext) |
void |
onNewEntries(long prevLogIndex,
long prevLogTerm,
RaftLogEntry[] newLogEntries,
LeaderContext leaderContext) |
void |
start() |
void |
stop() |
public Object identity()
public void start()
public void stop()
public void onMismatch(long lastRemoteAppendIndex,
LeaderContext leaderContext)
public void onMatch(long newMatchIndex,
LeaderContext leaderContext)
public void onNewEntries(long prevLogIndex,
long prevLogTerm,
RaftLogEntry[] newLogEntries,
LeaderContext leaderContext)
public void onCommitUpdate(LeaderContext leaderContext)
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.