Class SMConfigurationAdapterImpl.SMConfigLimitEstimate
- java.lang.Object
-
- com.biglybt.core.speedmanager.impl.v2.SMConfigurationAdapterImpl.SMConfigLimitEstimate
-
- All Implemented Interfaces:
SpeedManagerLimitEstimate
- Enclosing class:
- SMConfigurationAdapterImpl
static class SMConfigurationAdapterImpl.SMConfigLimitEstimate extends java.lang.Object implements SpeedManagerLimitEstimate
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
bytesPerSec
(package private) float
limitEstimateType
-
Fields inherited from interface com.biglybt.core.speedmanager.SpeedManagerLimitEstimate
TYPE_CHOKE_ESTIMATED, TYPE_ESTIMATED, TYPE_MANUAL, TYPE_MEASURED, TYPE_MEASURED_MIN, TYPE_UNKNOWN
-
-
Constructor Summary
Constructors Constructor Description SMConfigLimitEstimate(int rateInBytesPerSec, SpeedLimitConfidence conf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBytesPerSec()
float
getEstimateType()
One of the above constantsfloat
getMetricRating()
For estimated limits: -1 = estimate derived from bad metrics +1 = estimate derived from good metric <1 x > -1 = relative goodness of metricint[][]
getSegments()
Don't call this method.java.lang.String
getString()
long
getWhen()
-
-
-
Constructor Detail
-
SMConfigLimitEstimate
public SMConfigLimitEstimate(int rateInBytesPerSec, SpeedLimitConfidence conf)
-
-
Method Detail
-
getBytesPerSec
public int getBytesPerSec()
- Specified by:
getBytesPerSec
in interfaceSpeedManagerLimitEstimate
-
getEstimateType
public float getEstimateType()
One of the above constants- Specified by:
getEstimateType
in interfaceSpeedManagerLimitEstimate
- Returns:
-
getMetricRating
public float getMetricRating()
For estimated limits: -1 = estimate derived from bad metrics +1 = estimate derived from good metric <1 x > -1 = relative goodness of metric- Specified by:
getMetricRating
in interfaceSpeedManagerLimitEstimate
- Returns:
-
getSegments
public int[][] getSegments()
Don't call this method.- Specified by:
getSegments
in interfaceSpeedManagerLimitEstimate
- Returns:
-
getWhen
public long getWhen()
- Specified by:
getWhen
in interfaceSpeedManagerLimitEstimate
-
getString
public java.lang.String getString()
- Specified by:
getString
in interfaceSpeedManagerLimitEstimate
- Returns:
-
-