Record Class DashboardStatsService.DashboardSummary
java.lang.Object
java.lang.Record
com.knezevic.edaf.v3.web.service.DashboardStatsService.DashboardSummary
- Enclosing class:
DashboardStatsService
public static record DashboardStatsService.DashboardSummary(long experimentCount, long runCount, long totalRuntimeMillis, Long databaseSizeBytes, Double databaseSizeGb, String databaseSizeDisplay, String experimentCountDisplay, String runCountDisplay, String totalRuntimeMillisDisplay)
extends Record
Header summary payload DTO.
-
Constructor Summary
ConstructorsConstructorDescriptionDashboardSummary(long experimentCount, long runCount, long totalRuntimeMillis, Long databaseSizeBytes, Double databaseSizeGb, String databaseSizeDisplay, String experimentCountDisplay, String runCountDisplay, String totalRuntimeMillisDisplay) Creates an instance of aDashboardSummaryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedatabaseSizeBytesrecord component.Returns the value of thedatabaseSizeDisplayrecord component.Returns the value of thedatabaseSizeGbrecord component.final booleanIndicates whether some other object is "equal to" this one.longReturns the value of theexperimentCountrecord component.Returns the value of theexperimentCountDisplayrecord component.final inthashCode()Returns a hash code value for this object.longrunCount()Returns the value of therunCountrecord component.Returns the value of therunCountDisplayrecord component.final StringtoString()Returns a string representation of this record class.longReturns the value of thetotalRuntimeMillisrecord component.Returns the value of thetotalRuntimeMillisDisplayrecord component.
-
Constructor Details
-
DashboardSummary
public DashboardSummary(long experimentCount, long runCount, long totalRuntimeMillis, Long databaseSizeBytes, Double databaseSizeGb, String databaseSizeDisplay, String experimentCountDisplay, String runCountDisplay, String totalRuntimeMillisDisplay) Creates an instance of aDashboardSummaryrecord class.- Parameters:
experimentCount- the value for theexperimentCountrecord componentrunCount- the value for therunCountrecord componenttotalRuntimeMillis- the value for thetotalRuntimeMillisrecord componentdatabaseSizeBytes- the value for thedatabaseSizeBytesrecord componentdatabaseSizeGb- the value for thedatabaseSizeGbrecord componentdatabaseSizeDisplay- the value for thedatabaseSizeDisplayrecord componentexperimentCountDisplay- the value for theexperimentCountDisplayrecord componentrunCountDisplay- the value for therunCountDisplayrecord componenttotalRuntimeMillisDisplay- the value for thetotalRuntimeMillisDisplayrecord 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. -
experimentCount
public long experimentCount()Returns the value of theexperimentCountrecord component.- Returns:
- the value of the
experimentCountrecord component
-
runCount
public long runCount()Returns the value of therunCountrecord component.- Returns:
- the value of the
runCountrecord component
-
totalRuntimeMillis
public long totalRuntimeMillis()Returns the value of thetotalRuntimeMillisrecord component.- Returns:
- the value of the
totalRuntimeMillisrecord component
-
databaseSizeBytes
Returns the value of thedatabaseSizeBytesrecord component.- Returns:
- the value of the
databaseSizeBytesrecord component
-
databaseSizeGb
Returns the value of thedatabaseSizeGbrecord component.- Returns:
- the value of the
databaseSizeGbrecord component
-
databaseSizeDisplay
Returns the value of thedatabaseSizeDisplayrecord component.- Returns:
- the value of the
databaseSizeDisplayrecord component
-
experimentCountDisplay
Returns the value of theexperimentCountDisplayrecord component.- Returns:
- the value of the
experimentCountDisplayrecord component
-
runCountDisplay
Returns the value of therunCountDisplayrecord component.- Returns:
- the value of the
runCountDisplayrecord component
-
totalRuntimeMillisDisplay
Returns the value of thetotalRuntimeMillisDisplayrecord component.- Returns:
- the value of the
totalRuntimeMillisDisplayrecord component
-