Package org.aksw.iguana.cc.tasks.impl
Record Class Stresstest.Result
java.lang.Object
java.lang.Record
org.aksw.iguana.cc.tasks.impl.Stresstest.Result
- Enclosing class:
- Stresstest
public static record Stresstest.Result(List<HttpWorker.Result> workerResults, Calendar startTime, Calendar endTime)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionResult(List<HttpWorker.Result> workerResults, Calendar startTime, Calendar endTime) Creates an instance of aResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionendTime()Returns the value of theendTimerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thestartTimerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theworkerResultsrecord component.
-
Constructor Details
-
Result
Creates an instance of aResultrecord class.- Parameters:
workerResults- the value for theworkerResultsrecord componentstartTime- the value for thestartTimerecord componentendTime- the value for theendTimerecord 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). -
workerResults
Returns the value of theworkerResultsrecord component.- Returns:
- the value of the
workerResultsrecord component
-
startTime
Returns the value of thestartTimerecord component.- Returns:
- the value of the
startTimerecord component
-
endTime
Returns the value of theendTimerecord component.- Returns:
- the value of the
endTimerecord component
-