public class SwarmRaftConfig
extends java.lang.Object
implements java.io.Serializable
RemoteApiVersion#VERSION_1_24| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
SwarmRaftConfig() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
getElectionTick() |
int |
getHeartbeatTick() |
long |
getLogEntriesForSlowFollowers() |
long |
getSnapshotInterval() |
int |
hashCode() |
java.lang.String |
toString() |
SwarmRaftConfig |
withElectionTick(int electionTick) |
SwarmRaftConfig |
withHeartbeatTick(int heartbeatTick) |
SwarmRaftConfig |
withLogEntriesForSlowFollowers(long logEntriesForSlowFollowers) |
SwarmRaftConfig |
withSnapshotInterval(long snapshotInterval) |
public static final long serialVersionUID
@CheckForNull public long getLogEntriesForSlowFollowers()
logEntriesForSlowFollowerspublic SwarmRaftConfig withLogEntriesForSlowFollowers(long logEntriesForSlowFollowers)
logEntriesForSlowFollowers@CheckForNull public int getHeartbeatTick()
heartbeatTickpublic SwarmRaftConfig withHeartbeatTick(int heartbeatTick)
heartbeatTick@CheckForNull public long getSnapshotInterval()
snapshotIntervalpublic SwarmRaftConfig withSnapshotInterval(long snapshotInterval)
snapshotInterval@CheckForNull public int getElectionTick()
electionTickpublic SwarmRaftConfig withElectionTick(int electionTick)
electionTickpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2019. All Rights Reserved.