Package io.camunda.zeebe.util
Record Class FeatureFlags
java.lang.Object
java.lang.Record
io.camunda.zeebe.util.FeatureFlags
public record FeatureFlags(boolean yieldingDueDateChecker, boolean enableActorMetrics, boolean enableMessageTTLCheckerAsync, boolean enableTimerDueDateCheckerAsync, boolean enableStraightThroughProcessingLoopDetector, boolean enablePartitionScaling)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionFeatureFlags(boolean yieldingDueDateChecker, boolean enableActorMetrics, boolean enableMessageTTLCheckerAsync, boolean enableTimerDueDateCheckerAsync, boolean enableStraightThroughProcessingLoopDetector, boolean enablePartitionScaling) Creates an instance of aFeatureFlagsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic FeatureFlagsstatic FeatureFlagsOnly to be used in testsbooleanReturns the value of theenableActorMetricsrecord component.booleanReturns the value of theenableMessageTTLCheckerAsyncrecord component.booleanReturns the value of theenablePartitionScalingrecord component.booleanReturns the value of theenableStraightThroughProcessingLoopDetectorrecord component.booleanReturns the value of theenableTimerDueDateCheckerAsyncrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.toString()Returns a string representation of this record class.booleanReturns the value of theyieldingDueDateCheckerrecord component.
-
Constructor Details
-
FeatureFlags
public FeatureFlags(boolean yieldingDueDateChecker, boolean enableActorMetrics, boolean enableMessageTTLCheckerAsync, boolean enableTimerDueDateCheckerAsync, boolean enableStraightThroughProcessingLoopDetector, boolean enablePartitionScaling) Creates an instance of aFeatureFlagsrecord class.- Parameters:
yieldingDueDateChecker- the value for theyieldingDueDateCheckerrecord componentenableActorMetrics- the value for theenableActorMetricsrecord componentenableMessageTTLCheckerAsync- the value for theenableMessageTTLCheckerAsyncrecord componentenableTimerDueDateCheckerAsync- the value for theenableTimerDueDateCheckerAsyncrecord componentenableStraightThroughProcessingLoopDetector- the value for theenableStraightThroughProcessingLoopDetectorrecord componentenablePartitionScaling- the value for theenablePartitionScalingrecord component
-
-
Method Details
-
createDefault
-
createDefaultForTests
Only to be used in tests- Returns:
-
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 with '=='. -
yieldingDueDateChecker
public boolean yieldingDueDateChecker()Returns the value of theyieldingDueDateCheckerrecord component.- Returns:
- the value of the
yieldingDueDateCheckerrecord component
-
enableActorMetrics
public boolean enableActorMetrics()Returns the value of theenableActorMetricsrecord component.- Returns:
- the value of the
enableActorMetricsrecord component
-
enableMessageTTLCheckerAsync
public boolean enableMessageTTLCheckerAsync()Returns the value of theenableMessageTTLCheckerAsyncrecord component.- Returns:
- the value of the
enableMessageTTLCheckerAsyncrecord component
-
enableTimerDueDateCheckerAsync
public boolean enableTimerDueDateCheckerAsync()Returns the value of theenableTimerDueDateCheckerAsyncrecord component.- Returns:
- the value of the
enableTimerDueDateCheckerAsyncrecord component
-
enableStraightThroughProcessingLoopDetector
public boolean enableStraightThroughProcessingLoopDetector()Returns the value of theenableStraightThroughProcessingLoopDetectorrecord component.- Returns:
- the value of the
enableStraightThroughProcessingLoopDetectorrecord component
-
enablePartitionScaling
public boolean enablePartitionScaling()Returns the value of theenablePartitionScalingrecord component.- Returns:
- the value of the
enablePartitionScalingrecord component
-