|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.eureka.util.MeasuredRate
public class MeasuredRate
Utility class for getting a count in last X milliseconds
| Constructor Summary | |
|---|---|
MeasuredRate(long sampleInterval)
|
|
| Method Summary | |
|---|---|
long |
getCount()
Returns the count in the last sample interval. |
void |
increment()
Increments the count in the current sample interval. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MeasuredRate(long sampleInterval)
sampleInterval - in milliseconds| Method Detail |
|---|
public long getCount()
public void increment()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||