Record Class WebEngineStats.DayCount
java.lang.Object
java.lang.Record
com.iizix.server.webengine.WebEngineStats.DayCount
- Record Components:
day- The day, UTC.group- The group.connects- The connects counted that day in that group since the last drain.
- Enclosing class:
WebEngineStats
public static record WebEngineStats.DayCount(LocalDate day, WebEngineStats.Group group, long connects) extends Record
The connects of one day in one group, as
WebEngineStats.drainDays() hands them to the history.- Author:
- Christopher Mindus
Constructor Summary
ConstructorsConstructorDescriptionDayCount(LocalDate day, WebEngineStats.Group group, long connects) Creates an instance of aDayCountrecord class.Method Summary
Modifier and TypeMethodDescriptionlongconnects()Returns the value of theconnectsrecord component.day()Returns the value of thedayrecord component.final booleanIndicates whether some other object is "equal to" this one.group()Returns the value of thegrouprecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
Constructor Details
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.day
group
connects