Record Class PartitionsActuator.PartitionStatus
java.lang.Object
java.lang.Record
io.camunda.zeebe.qa.util.actuator.PartitionsActuator.PartitionStatus
- Enclosing interface:
PartitionsActuator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexportedPositionrecord component.Returns the value of theexporterPhaserecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theprocessedPositionrecord component.Returns the value of theprocessedPositionInSnapshotrecord component.role()Returns the value of therolerecord component.Returns the value of thesnapshotIdrecord component.Returns the value of thestreamProcessorPhaserecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PartitionStatus
public PartitionStatus(String role, String snapshotId, Long processedPosition, Long processedPositionInSnapshot, String streamProcessorPhase, Long exportedPosition, String exporterPhase) Creates an instance of aPartitionStatusrecord class.- Parameters:
role- the value for therolerecord componentsnapshotId- the value for thesnapshotIdrecord componentprocessedPosition- the value for theprocessedPositionrecord componentprocessedPositionInSnapshot- the value for theprocessedPositionInSnapshotrecord componentstreamProcessorPhase- the value for thestreamProcessorPhaserecord componentexportedPosition- the value for theexportedPositionrecord componentexporterPhase- the value for theexporterPhaserecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
role
Returns the value of therolerecord component.- Returns:
- the value of the
rolerecord component
-
snapshotId
Returns the value of thesnapshotIdrecord component.- Returns:
- the value of the
snapshotIdrecord component
-
processedPosition
Returns the value of theprocessedPositionrecord component.- Returns:
- the value of the
processedPositionrecord component
-
processedPositionInSnapshot
Returns the value of theprocessedPositionInSnapshotrecord component.- Returns:
- the value of the
processedPositionInSnapshotrecord component
-
streamProcessorPhase
Returns the value of thestreamProcessorPhaserecord component.- Returns:
- the value of the
streamProcessorPhaserecord component
-
exportedPosition
Returns the value of theexportedPositionrecord component.- Returns:
- the value of the
exportedPositionrecord component
-
exporterPhase
Returns the value of theexporterPhaserecord component.- Returns:
- the value of the
exporterPhaserecord component
-