@Beta public abstract class BasicMasterChooser extends java.lang.Object implements MasterChooser
| Modifier and Type | Class and Description |
|---|---|
static class |
BasicMasterChooser.AlphabeticChooserScore |
static class |
BasicMasterChooser.AlphabeticMasterChooser
comparator which prefers, in order:
higher explicit priority
non-snapshot Brooklyn version, then any Brooklyn version, and lastly null version
(using
NaturalOrderComparator so e.g. |
| Constructor and Description |
|---|
BasicMasterChooser() |
| Modifier and Type | Method and Description |
|---|---|
ManagementNodeSyncRecord |
choose(ManagementPlaneSyncRecord memento,
Duration heartbeatTimeout,
java.lang.String ownNodeId) |
public ManagementNodeSyncRecord choose(ManagementPlaneSyncRecord memento, Duration heartbeatTimeout, java.lang.String ownNodeId)
choose in interface MasterChooser