Record Class DynamicPartitionConfig
java.lang.Object
java.lang.Record
io.camunda.zeebe.dynamic.config.state.DynamicPartitionConfig
Represents configuration of a partition that can be updated during runtime.
-
Constructor Summary
ConstructorsConstructorDescriptionDynamicPartitionConfig(ExportersConfig exporting) Creates an instance of aDynamicPartitionConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexportingrecord component.final inthashCode()Returns a hash code value for this object.static DynamicPartitionConfiginit()booleanfinal StringtoString()Returns a string representation of this record class.static DynamicPartitionConfigupdateExporting(ExportersConfig exporter) updateExporting(UnaryOperator<ExportersConfig> exporterUpdater)
-
Constructor Details
-
DynamicPartitionConfig
Creates an instance of aDynamicPartitionConfigrecord class.- Parameters:
exporting- the value for theexportingrecord component
-
-
Method Details
-
uninitialized
-
init
-
isInitialized
public boolean isInitialized() -
updateExporting
-
updateExporting
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
exporting
Returns the value of theexportingrecord component.- Returns:
- the value of the
exportingrecord component
-