|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface LatencyScoreStrategy.Instance
Single instance of this strategy associated with an endpoint
Method Summary | |
---|---|
void |
addSample(long sample)
Add a single latency sample |
double |
getMean()
Get the mean for the sample window |
double |
getScore()
Get the cached score for this endpoint |
void |
reset()
Reset the score and any internal stats |
void |
update()
Update the score |
Method Detail |
---|
void addSample(long sample)
sample
- now
- double getScore()
void reset()
void update()
double getMean()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |