Interface MastershipChangeServiceManager
- All Superinterfaces:
- OwnershipChangeListener,- ReconciliationFrameworkRegistrar
- All Known Implementing Classes:
- MastershipChangeServiceManagerImpl
Provider to register mastership change listener.
 Provider to set mastership reconciliation framework.
- Since:
- 0.5.0 Nitrogen
- 
Method SummaryModifier and TypeMethodDescriptionorg.opendaylight.yangtools.concepts.RegistrationreconciliationFrameworkRegistration(@NonNull ReconciliationFrameworkEvent mastershipRFRegistration) Setter for reconciliation framework event listener.@NonNull org.opendaylight.yangtools.concepts.Registrationregister(@NonNull MastershipChangeService service) Register of mastership change listener.Methods inherited from interface org.opendaylight.openflowplugin.api.openflow.lifecycle.OwnershipChangeListenerbecomeMaster, becomeMasterBeforeSubmittedDS, becomeSlaveOrDisconnect, setMasterCheckerMethods inherited from interface org.opendaylight.openflowplugin.api.openflow.lifecycle.ReconciliationFrameworkRegistrarisReconciliationFrameworkRegistered
- 
Method Details- 
register@NonNull org.opendaylight.yangtools.concepts.Registration register(@NonNull MastershipChangeService service) Register of mastership change listener. Returned registration need to be closed by client. It doesn't contain event for reconciliation framework event.- Parameters:
- service- implementation of- MastershipChangeService
- Returns:
- registration
- See Also:
 
- 
reconciliationFrameworkRegistrationorg.opendaylight.yangtools.concepts.Registration reconciliationFrameworkRegistration(@NonNull ReconciliationFrameworkEvent mastershipRFRegistration) throws MastershipChangeException Setter for reconciliation framework event listener. It can be registered only once. Another registrations will throw an exception- Parameters:
- mastershipRFRegistration- reconciliation framework
- Returns:
- registration object, which can be closed to unregister
- Throws:
- MastershipChangeException- if already reconciliation framework registered
 
 
-