Record Class TrendDataProcessor.HistoricalDataPoint
java.lang.Object
java.lang.Record
de.cuioss.benchmarking.common.report.TrendDataProcessor.HistoricalDataPoint
- Enclosing class:
TrendDataProcessor
public static record TrendDataProcessor.HistoricalDataPoint(String timestamp, double throughput, double latency, double performanceScore, String commitSha)
extends Record
Represents a single historical data point.
-
Constructor Summary
ConstructorsConstructorDescriptionHistoricalDataPoint(String timestamp, double throughput, double latency, double performanceScore, String commitSha) Creates an instance of aHistoricalDataPointrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecommitSharecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.doublelatency()Returns the value of thelatencyrecord component.doubleReturns the value of theperformanceScorerecord component.doubleReturns the value of thethroughputrecord component.Returns the value of thetimestamprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HistoricalDataPoint
public HistoricalDataPoint(String timestamp, double throughput, double latency, double performanceScore, String commitSha) Creates an instance of aHistoricalDataPointrecord class.- Parameters:
timestamp- the value for thetimestamprecord componentthroughput- the value for thethroughputrecord componentlatency- the value for thelatencyrecord componentperformanceScore- the value for theperformanceScorerecord componentcommitSha- the value for thecommitSharecord 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
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
timestamp
Returns the value of thetimestamprecord component.- Returns:
- the value of the
timestamprecord component
-
throughput
Returns the value of thethroughputrecord component.- Returns:
- the value of the
throughputrecord component
-
latency
Returns the value of thelatencyrecord component.- Returns:
- the value of the
latencyrecord component
-
performanceScore
Returns the value of theperformanceScorerecord component.- Returns:
- the value of the
performanceScorerecord component
-
commitSha
Returns the value of thecommitSharecord component.- Returns:
- the value of the
commitSharecord component
-