Record Class ProgressSummary
java.lang.Object
java.lang.Record
io.nosqlbench.engine.api.activityapi.core.progress.ProgressSummary
-
Constructor Summary
ConstructorsConstructorDescriptionProgressSummary(String name, double pending, double current, double complete) Creates an instance of aProgressSummaryrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoublecomplete()Returns the value of thecompleterecord component.doublecurrent()Returns the value of thecurrentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.doublepending()Returns the value of thependingrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
ProgressSummary
Creates an instance of aProgressSummaryrecord class.- Parameters:
name- the value for thenamerecord componentpending- the value for thependingrecord componentcurrent- the value for thecurrentrecord componentcomplete- the value for thecompleterecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
pending
public double pending()Returns the value of thependingrecord component.- Returns:
- the value of the
pendingrecord component
-
current
public double current()Returns the value of thecurrentrecord component.- Returns:
- the value of the
currentrecord component
-
complete
public double complete()Returns the value of thecompleterecord component.- Returns:
- the value of the
completerecord component
-