Record Class StatActionInOut.TimeRange
java.lang.Object
java.lang.Record
com.iohao.net.framework.core.flow.internal.StatActionInOut.TimeRange
- Record Components:
start- Start time, inclusiveend- End time, inclusivecount- Execution count triggered within this time rangename- Name
- Enclosing class:
StatActionInOut
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncount()Returns the value of thecountrecord component.static StatActionInOut.TimeRangecreate(long start, long end) Create time rangestatic StatActionInOut.TimeRangeCreate time range and specify a namelongend()Returns the value of theendrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.longstart()Returns the value of thestartrecord component.@NonNull StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
create
Create time range- Parameters:
start- Start time, inclusiveend- End time, inclusive- Returns:
- TimeRange
-
create
Create time range and specify a name- Parameters:
start- Start time, inclusiveend- End time, inclusivename- Name for printing- Returns:
- TimeRange
-
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. -
start
-
end
-
count
-
name
-