Class SMConst.FilteredLimitEstimate
- java.lang.Object
-
- com.biglybt.core.speedmanager.impl.v2.SMConst.FilteredLimitEstimate
-
- All Implemented Interfaces:
SpeedManagerLimitEstimate
- Enclosing class:
- SMConst
static class SMConst.FilteredLimitEstimate extends java.lang.Object implements SpeedManagerLimitEstimate
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
bytesPerSec
(package private) float
metric
(package private) java.lang.String
name
(package private) float
type
(package private) long
when
-
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 FilteredLimitEstimate(int _bytesPerSec, float _type, float _metric, long _when, java.lang.String _name)
-
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()
java.lang.String
getString()
long
getWhen()
-
-
-
Method Detail
-
getBytesPerSec
public int getBytesPerSec()
- Specified by:
getBytesPerSec
in interfaceSpeedManagerLimitEstimate
-
getEstimateType
public float getEstimateType()
Description copied from interface:SpeedManagerLimitEstimate
One of the above constants- Specified by:
getEstimateType
in interfaceSpeedManagerLimitEstimate
- Returns:
-
getMetricRating
public float getMetricRating()
Description copied from interface:SpeedManagerLimitEstimate
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()
- Specified by:
getSegments
in interfaceSpeedManagerLimitEstimate
-
getWhen
public long getWhen()
- Specified by:
getWhen
in interfaceSpeedManagerLimitEstimate
-
getString
public java.lang.String getString()
- Specified by:
getString
in interfaceSpeedManagerLimitEstimate
-
-