public abstract class IntervalEstimator extends Object
| Constructor and Description |
|---|
IntervalEstimator() |
| Modifier and Type | Method and Description |
|---|---|
abstract long |
getEstimatedInterval(long when)
Provides the estimated interval
|
abstract void |
recordInterval(long when)
Record an interval
|
public abstract void recordInterval(long when)
when - the end time (in nanoTime units) at which the interval was observed.public abstract long getEstimatedInterval(long when)
when - the time (preferably now) at which the estimated interval is requested.Copyright © 2015. All rights reserved.