Class NoopClusterMembershipChangeExecutor
java.lang.Object
io.camunda.zeebe.dynamic.config.changes.NoopClusterMembershipChangeExecutor
- All Implemented Interfaces:
ClusterMembershipChangeExecutor
public class NoopClusterMembershipChangeExecutor
extends Object
implements ClusterMembershipChangeExecutor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe implementation of this method can react to a new node joining the cluster.removeBroker(MemberId memberId) The implementation of this method can react to a node leaving the cluster.
-
Constructor Details
-
NoopClusterMembershipChangeExecutor
public NoopClusterMembershipChangeExecutor()
-
-
Method Details
-
addBroker
Description copied from interface:ClusterMembershipChangeExecutorThe implementation of this method can react to a new node joining the cluster. For example, this can update BrokerInfo so that the gateway can see the new clusterSize.- Specified by:
addBrokerin interfaceClusterMembershipChangeExecutor- Parameters:
memberId- id of the broker that is newly added to the cluster- Returns:
- future when the operation is completed.
-
removeBroker
Description copied from interface:ClusterMembershipChangeExecutorThe implementation of this method can react to a node leaving the cluster.- Specified by:
removeBrokerin interfaceClusterMembershipChangeExecutor- Parameters:
memberId- id of the member that is leaving the cluster- Returns:
- future when the operation is completed
-