Record Class WebEngineStats.Totals
java.lang.Object
java.lang.Record
com.iizix.server.webengine.WebEngineStats.Totals
- Record Components:
activeNow- The sessions connected now.connects- The connects since the server started.
- Enclosing class:
WebEngineStats
The two counts of a status or a row.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorsConstructorDescriptionTotals(long activeNow, long connects) Creates an instance of aTotalsrecord class.Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of theactiveNowrecord component.longconnects()Returns the value of theconnectsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
Constructor Details
Totals
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.activeNow
connects