@Beta
public interface ManagementPlaneSyncRecordPersister
HighAvailabilityManager#setPersister(ManagementPlaneSyncRecordPersister)} for its use in management-node failover
Modifier and Type | Interface and Description |
---|---|
static interface |
ManagementPlaneSyncRecordPersister.Delta |
Modifier and Type | Method and Description |
---|---|
void |
delta(ManagementPlaneSyncRecordPersister.Delta delta) |
ManagementPlaneSyncRecord |
loadSyncRecord()
Analogue to
BrooklynMementoPersister#loadMemento(brooklyn.mementos.BrooklynMementoPersister.LookupContext) |
void |
stop() |
void |
waitForWritesCompleted(Duration timeout) |
ManagementPlaneSyncRecord loadSyncRecord() throws java.io.IOException
BrooklynMementoPersister#loadMemento(brooklyn.mementos.BrooklynMementoPersister.LookupContext)
Note that this method is *not* thread safe.
java.io.IOException
void delta(ManagementPlaneSyncRecordPersister.Delta delta)
void stop()
void waitForWritesCompleted(Duration timeout) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
java.lang.InterruptedException
java.util.concurrent.TimeoutException