public class ConfigurationEntry extends Object
| Constructor and Description |
|---|
ConfigurationEntry() |
ConfigurationEntry(LogId id,
Configuration conf,
Configuration oldConf) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(PeerId peer) |
boolean |
containsLearner(PeerId learner) |
Configuration |
getConf() |
LogId |
getId() |
Configuration |
getOldConf() |
boolean |
isEmpty() |
boolean |
isStable() |
boolean |
isValid()
Returns true when the conf entry is valid.
|
Set<PeerId> |
listLearners() |
Set<PeerId> |
listPeers() |
void |
setConf(Configuration conf) |
void |
setId(LogId id) |
void |
setOldConf(Configuration oldConf) |
String |
toString() |
public ConfigurationEntry()
public ConfigurationEntry(LogId id, Configuration conf, Configuration oldConf)
public LogId getId()
public void setId(LogId id)
public Configuration getConf()
public void setConf(Configuration conf)
public Configuration getOldConf()
public void setOldConf(Configuration oldConf)
public boolean isStable()
public boolean isEmpty()
public boolean isValid()
public boolean containsLearner(PeerId learner)
public boolean contains(PeerId peer)
Copyright © 2024. All rights reserved.