MCPcopy Create free account
hub / github.com/e2wugui/zeze / getLogSequence

Method getLogSequence

ZezeJava/ZezeJava/src/main/java/Zeze/Raft/Raft.java:158–160  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

156 }
157
158 public LogSequence getLogSequence() {
159 return logSequence;
160 }
161
162 public boolean isLeader() {
163 return state == RaftState.Leader;

Callers 15

OnSocketCloseMethod · 0.95
OnSocketHandshakeDoneMethod · 0.95
processGetLeaderMethod · 0.95
checkpointMethod · 0.95
checkpointMethod · 0.95
sendHeartbeatToMethod · 0.80
processRequestMethod · 0.80
trySendLeaderIsMethod · 0.80
OnHandshakeDoneMethod · 0.80
_runMethod · 0.80
randomSnapshotTimerMethod · 0.80

Calls

no outgoing calls

Tested by 6

_runMethod · 0.64
randomSnapshotTimerMethod · 0.64
runTraceMethod · 0.64
snapshotMethod · 0.64
startRaftMethod · 0.64