public interface MastershipChangeServiceManager extends OwnershipChangeListener, AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close() |
ReconciliationFrameworkRegistration |
reconciliationFrameworkRegistration(ReconciliationFrameworkEvent mastershipRFRegistration)
Setter for reconciliation framework event listener.
|
MastershipChangeRegistration |
register(MastershipChangeService service)
Register of mastership change listener.
|
becomeMaster, becomeMasterBeforeSubmittedDS, becomeSlaveOrDisconnect, setMasterChecker
isReconciliationFrameworkRegistered
@Nonnull MastershipChangeRegistration register(@Nonnull MastershipChangeService service)
service
- implementation of MastershipChangeService
ReconciliationFrameworkEvent
ReconciliationFrameworkRegistration reconciliationFrameworkRegistration(@Nonnull ReconciliationFrameworkEvent mastershipRFRegistration) throws MastershipChangeException
mastershipRFRegistration
- reconciliation frameworkMastershipChangeException
- if already reconciliation framework registeredvoid close()
close
in interface AutoCloseable
Copyright © 2018 OpenDaylight. All rights reserved.