Record Class TransportTestCounter.StepCounts
java.lang.Object
java.lang.Record
ai.pipestream.module.pipelineprobe.TransportTestCounter.StepCounts
- Record Components:
total- total receipts at this step, including duplicatesunique- distinct doc_ids received at this stepduplicates- count of doc_ids seen more than once at this step
- Enclosing class:
TransportTestCounter
public static record TransportTestCounter.StepCounts(int total, int unique, int duplicates)
extends Record
Per-step totals for REST / worker status (copy of live counters).
-
Constructor Summary
ConstructorsConstructorDescriptionStepCounts(int total, int unique, int duplicates) Creates an instance of aStepCountsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theduplicatesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.inttotal()Returns the value of thetotalrecord component.intunique()Returns the value of theuniquerecord component.
-
Constructor Details
-
StepCounts
public StepCounts(int total, int unique, int duplicates) Creates an instance of aStepCountsrecord class.- Parameters:
total- the value for thetotalrecord componentunique- the value for theuniquerecord componentduplicates- the value for theduplicatesrecord component
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
total
-
unique
-
duplicates
public int duplicates()Returns the value of theduplicatesrecord component.- Returns:
- the value of the
duplicatesrecord component
-