public class Configuration extends Object
| Constructor and Description |
|---|
Configuration(long index,
long term,
long time,
Collection<RaftMember> members) |
| Modifier and Type | Method and Description |
|---|---|
long |
index()
Returns the configuration index.
|
Collection<RaftMember> |
members()
Returns the cluster membership for this configuration.
|
long |
term()
Returns the configuration term.
|
long |
time()
Returns the configuration time.
|
String |
toString() |
public Configuration(long index,
long term,
long time,
Collection<RaftMember> members)
public long index()
The index is the index of the ConfigurationEntry
which resulted in this configuration.
public long term()
The term is the term of the leader at the time the configuration change was committed.
public long time()
public Collection<RaftMember> members()
Copyright © 2013–2017. All rights reserved.