Class ClusterPatchRequestTransformer
java.lang.Object
io.camunda.zeebe.dynamic.config.api.ClusterPatchRequestTransformer
- All Implemented Interfaces:
ConfigurationChangeCoordinator.ConfigurationChangeRequest
public final class ClusterPatchRequestTransformer
extends Object
implements ConfigurationChangeCoordinator.ConfigurationChangeRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionoperations(ClusterConfiguration clusterConfiguration) Returns a list of operations to apply to the current configuration.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.camunda.zeebe.dynamic.config.changes.ConfigurationChangeCoordinator.ConfigurationChangeRequest
isForced
-
Constructor Details
-
ClusterPatchRequestTransformer
-
-
Method Details
-
operations
public Either<Exception,List<ClusterConfigurationChangeOperation>> operations(ClusterConfiguration clusterConfiguration) Description copied from interface:ConfigurationChangeCoordinator.ConfigurationChangeRequestReturns a list of operations to apply to the current configuration. The operations will be applied in the given order in the list.- Specified by:
operationsin interfaceConfigurationChangeCoordinator.ConfigurationChangeRequest- Parameters:
clusterConfiguration- the current cluster configuration- Returns:
- an Either with the list of operations to apply or an exception if the request is not valid.
-