public interface ReplicationState
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ReplicationState.Mutable |
static interface |
ReplicationState.Volatile |
| Modifier and Type | Field and Description |
|---|---|
static int |
NULL_SERVER |
| Modifier and Type | Method and Description |
|---|---|
long |
committedEventLogIndex(int serverCount) |
long |
confirmedEventLogIndex(int serverId) |
int |
currentTerm() |
long |
eventLogSize() |
int |
leaderId() |
long |
nextEventLogIndex(int serverId) |
long |
nextNotBefore(int serverId) |
static final int NULL_SERVER
int currentTerm()
int leaderId()
long eventLogSize()
long nextEventLogIndex(int serverId)
long confirmedEventLogIndex(int serverId)
long committedEventLogIndex(int serverCount)
long nextNotBefore(int serverId)
Copyright © 2020 tools4j.org (Marco Terzer, Anton Anufriev). All Rights Reserved.