Record Class ConfigurationChangeCoordinator.ConfigurationChangeResult
java.lang.Object
java.lang.Record
io.camunda.zeebe.dynamic.config.changes.ConfigurationChangeCoordinator.ConfigurationChangeResult
- Enclosing interface:
ConfigurationChangeCoordinator
public static record ConfigurationChangeCoordinator.ConfigurationChangeResult(ClusterConfiguration currentConfiguration, ClusterConfiguration finalConfiguration, long changeId, List<ClusterConfigurationChangeOperation> operations)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionConfigurationChangeResult(ClusterConfiguration currentConfiguration, ClusterConfiguration finalConfiguration, long changeId, List<ClusterConfigurationChangeOperation> operations) Creates an instance of aConfigurationChangeResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongchangeId()Returns the value of thechangeIdrecord component.Returns the value of thecurrentConfigurationrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefinalConfigurationrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theoperationsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConfigurationChangeResult
public ConfigurationChangeResult(ClusterConfiguration currentConfiguration, ClusterConfiguration finalConfiguration, long changeId, List<ClusterConfigurationChangeOperation> operations) Creates an instance of aConfigurationChangeResultrecord class.- Parameters:
currentConfiguration- the value for thecurrentConfigurationrecord componentfinalConfiguration- the value for thefinalConfigurationrecord componentchangeId- the value for thechangeIdrecord componentoperations- the value for theoperationsrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
currentConfiguration
Returns the value of thecurrentConfigurationrecord component.- Returns:
- the value of the
currentConfigurationrecord component
-
finalConfiguration
Returns the value of thefinalConfigurationrecord component.- Returns:
- the value of the
finalConfigurationrecord component
-
changeId
public long changeId()Returns the value of thechangeIdrecord component.- Returns:
- the value of the
changeIdrecord component
-
operations
Returns the value of theoperationsrecord component.- Returns:
- the value of the
operationsrecord component
-