Package io.camunda.zeebe.dynamic.config
Interface ClusterConfigurationUpdateNotifier
- All Known Implementing Classes:
ClusterConfigurationGossiper,ClusterConfigurationManagerService,GatewayClusterConfigurationService
public interface ClusterConfigurationUpdateNotifier
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionvoidRegister configuration update listener which is notified when cluster configuration is changed.voidremoveUpdateListener(ClusterConfigurationUpdateNotifier.ClusterConfigurationUpdateListener listener) Removed the registered listener
-
Method Details
-
addUpdateListener
void addUpdateListener(ClusterConfigurationUpdateNotifier.ClusterConfigurationUpdateListener listener) Register configuration update listener which is notified when cluster configuration is changed. The listener is immediately invoked if the current configuration is not null.- Parameters:
listener- which is notified
-
removeUpdateListener
void removeUpdateListener(ClusterConfigurationUpdateNotifier.ClusterConfigurationUpdateListener listener) Removed the registered listener- Parameters:
listener- to be removed
-