Class AutoValue_RaftConfig
- java.lang.Object
-
- com.spotify.docker.client.messages.swarm.RaftConfig
-
- com.spotify.docker.client.messages.swarm.AutoValue_RaftConfig
-
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_RaftConfig extends RaftConfig
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
AutoValue_RaftConfig.Builder
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Integer
electionTick
private java.lang.Integer
heartbeatTick
private java.lang.Integer
keepOldSnapshots
private java.lang.Integer
logEntriesForSlowFollowers
private java.lang.Integer
snapshotInterval
-
Constructor Summary
Constructors Modifier Constructor Description private
AutoValue_RaftConfig(java.lang.Integer snapshotInterval, java.lang.Integer keepOldSnapshots, java.lang.Integer logEntriesForSlowFollowers, java.lang.Integer electionTick, java.lang.Integer heartbeatTick)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
electionTick()
boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.Integer
heartbeatTick()
java.lang.Integer
keepOldSnapshots()
java.lang.Integer
logEntriesForSlowFollowers()
java.lang.Integer
snapshotInterval()
java.lang.String
toString()
-
Methods inherited from class com.spotify.docker.client.messages.swarm.RaftConfig
builder, create
-
-
-
-
Field Detail
-
snapshotInterval
private final java.lang.Integer snapshotInterval
-
keepOldSnapshots
private final java.lang.Integer keepOldSnapshots
-
logEntriesForSlowFollowers
private final java.lang.Integer logEntriesForSlowFollowers
-
electionTick
private final java.lang.Integer electionTick
-
heartbeatTick
private final java.lang.Integer heartbeatTick
-
-
Constructor Detail
-
AutoValue_RaftConfig
private AutoValue_RaftConfig(@Nullable java.lang.Integer snapshotInterval, @Nullable java.lang.Integer keepOldSnapshots, @Nullable java.lang.Integer logEntriesForSlowFollowers, @Nullable java.lang.Integer electionTick, @Nullable java.lang.Integer heartbeatTick)
-
-
Method Detail
-
snapshotInterval
@Nullable public java.lang.Integer snapshotInterval()
- Specified by:
snapshotInterval
in classRaftConfig
-
keepOldSnapshots
@Nullable public java.lang.Integer keepOldSnapshots()
- Specified by:
keepOldSnapshots
in classRaftConfig
-
logEntriesForSlowFollowers
@Nullable public java.lang.Integer logEntriesForSlowFollowers()
- Specified by:
logEntriesForSlowFollowers
in classRaftConfig
-
electionTick
@Nullable public java.lang.Integer electionTick()
- Specified by:
electionTick
in classRaftConfig
-
heartbeatTick
@Nullable public java.lang.Integer heartbeatTick()
- Specified by:
heartbeatTick
in classRaftConfig
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-