|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.LatencyUtils.IntervalEstimator
public abstract class IntervalEstimator
IntervalEstimator is used to estimate intervals, potentially based on observed intervals recorded in it.
Constructor Summary | |
---|---|
IntervalEstimator()
|
Method Summary | |
---|---|
abstract long |
getEstimatedInterval(long when)
Provides the estimated interval |
abstract void |
recordInterval(long when)
Record an interval |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntervalEstimator()
Method Detail |
---|
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.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |