Modifier and Type | Method and Description |
---|---|
ServerConfigurationPayload |
RaftActorContextImpl.getPeerServerInfo(boolean includeSelf) |
ServerConfigurationPayload |
RaftActorContext.getPeerServerInfo(boolean includeSelf)
Returns the peer information as a ServerConfigurationPayload if dynamic server configurations have been applied.
|
Modifier and Type | Method and Description |
---|---|
void |
RaftActorContextImpl.updatePeerIds(ServerConfigurationPayload serverConfig) |
void |
RaftActorContext.updatePeerIds(ServerConfigurationPayload serverCfgPayload)
Updates the peers and information to match the given ServerConfigurationPayload.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<ServerConfigurationPayload> |
InstallSnapshot.getServerConfig() |
Constructor and Description |
---|
InstallSnapshot(long term,
String leaderId,
long lastIncludedIndex,
long lastIncludedTerm,
byte[] data,
int chunkIndex,
int totalChunks,
com.google.common.base.Optional<Integer> lastChunkHashCode,
com.google.common.base.Optional<ServerConfigurationPayload> serverConfig) |
Modifier and Type | Method and Description |
---|---|
ServerConfigurationPayload |
Snapshot.getServerConfiguration() |
Modifier and Type | Method and Description |
---|---|
static Snapshot |
Snapshot.create(Snapshot.State state,
List<ReplicatedLogEntry> entries,
long lastIndex,
long lastTerm,
long lastAppliedIndex,
long lastAppliedTerm,
long electionTerm,
String electionVotedFor,
ServerConfigurationPayload serverConfig) |
Copyright © 2019 OpenDaylight. All rights reserved.