Record Class VenueBenchmark.VenueStats
java.lang.Object
java.lang.Record
com.quantfinlib.execution.VenueBenchmark.VenueStats
- Enclosing class:
VenueBenchmark
-
Constructor Summary
ConstructorsConstructorDescriptionVenueStats(String venue, int attempts, double fillRate, double avgEffectiveSpreadBps, double avgMarkoutBps, double avgLatencyToFillMillis) Creates an instance of aVenueStatsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintattempts()Returns the value of theattemptsrecord component.doubleReturns the value of theavgEffectiveSpreadBpsrecord component.doubleReturns the value of theavgLatencyToFillMillisrecord component.doubleReturns the value of theavgMarkoutBpsrecord component.final booleanIndicates whether some other object is "equal to" this one.doublefillRate()Returns the value of thefillRaterecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.venue()Returns the value of thevenuerecord component.
-
Constructor Details
-
VenueStats
public VenueStats(String venue, int attempts, double fillRate, double avgEffectiveSpreadBps, double avgMarkoutBps, double avgLatencyToFillMillis) Creates an instance of aVenueStatsrecord class.- Parameters:
venue- the value for thevenuerecord componentattempts- the value for theattemptsrecord componentfillRate- the value for thefillRaterecord componentavgEffectiveSpreadBps- the value for theavgEffectiveSpreadBpsrecord componentavgMarkoutBps- the value for theavgMarkoutBpsrecord componentavgLatencyToFillMillis- the value for theavgLatencyToFillMillisrecord 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. -
venue
Returns the value of thevenuerecord component.- Returns:
- the value of the
venuerecord component
-
attempts
public int attempts()Returns the value of theattemptsrecord component.- Returns:
- the value of the
attemptsrecord component
-
fillRate
public double fillRate()Returns the value of thefillRaterecord component.- Returns:
- the value of the
fillRaterecord component
-
avgEffectiveSpreadBps
public double avgEffectiveSpreadBps()Returns the value of theavgEffectiveSpreadBpsrecord component.- Returns:
- the value of the
avgEffectiveSpreadBpsrecord component
-
avgMarkoutBps
public double avgMarkoutBps()Returns the value of theavgMarkoutBpsrecord component.- Returns:
- the value of the
avgMarkoutBpsrecord component
-
avgLatencyToFillMillis
public double avgLatencyToFillMillis()Returns the value of theavgLatencyToFillMillisrecord component.- Returns:
- the value of the
avgLatencyToFillMillisrecord component
-