public abstract class ConfigurationResponse extends AbstractRaftResponse
| Modifier and Type | Class and Description |
|---|---|
static class |
ConfigurationResponse.Builder<T extends ConfigurationResponse.Builder<T,U>,U extends ConfigurationResponse>
Configuration response builder.
|
RaftResponse.Status| Constructor and Description |
|---|
ConfigurationResponse(RaftResponse.Status status,
RaftError error,
long index,
long term,
long timestamp,
Collection<RaftMember> members) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
int |
hashCode() |
long |
index()
Returns the response index.
|
Collection<RaftMember> |
members()
Returns the configuration members list.
|
long |
term()
Returns the configuration term.
|
long |
timestamp()
Returns the response configuration time.
|
String |
toString() |
error, statuspublic ConfigurationResponse(RaftResponse.Status status, RaftError error, long index, long term, long timestamp, Collection<RaftMember> members)
public long index()
public long term()
public long timestamp()
public Collection<RaftMember> members()
public int hashCode()
hashCode in class AbstractRaftResponsepublic boolean equals(Object object)
equals in class AbstractRaftResponsepublic String toString()
toString in class AbstractRaftResponseCopyright © 2013–2017. All rights reserved.