Record Class AutoconfigRunState.EvaluationCounts
java.lang.Object
java.lang.Record
es.urjc.etsii.grafo.autoconfig.service.AutoconfigRunState.EvaluationCounts
- Enclosing class:
AutoconfigRunState
public static record AutoconfigRunState.EvaluationCounts(long running, long succeeded, long rejected, long failed, long slow)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionEvaluationCounts(long running, long succeeded, long rejected, long failed, long slow) Creates an instance of aEvaluationCountsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.longfailed()Returns the value of thefailedrecord component.final inthashCode()Returns a hash code value for this object.longrejected()Returns the value of therejectedrecord component.longrunning()Returns the value of therunningrecord component.longslow()Returns the value of theslowrecord component.longReturns the value of thesucceededrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EvaluationCounts
public EvaluationCounts(long running, long succeeded, long rejected, long failed, long slow) Creates an instance of aEvaluationCountsrecord class.- Parameters:
running- the value for therunningrecord componentsucceeded- the value for thesucceededrecord componentrejected- the value for therejectedrecord componentfailed- the value for thefailedrecord componentslow- the value for theslowrecord 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. -
running
public long running()Returns the value of therunningrecord component.- Returns:
- the value of the
runningrecord component
-
succeeded
public long succeeded()Returns the value of thesucceededrecord component.- Returns:
- the value of the
succeededrecord component
-
rejected
public long rejected()Returns the value of therejectedrecord component.- Returns:
- the value of the
rejectedrecord component
-
failed
public long failed()Returns the value of thefailedrecord component.- Returns:
- the value of the
failedrecord component
-
slow
public long slow()Returns the value of theslowrecord component.- Returns:
- the value of the
slowrecord component
-