Modifier and Type | Method and Description |
---|---|
long |
getCount() |
String |
getEventType() |
double |
getFifteenMinuteRate() |
double |
getFiveMinuteRate() |
double |
getMeanRate() |
double |
getOneMinuteRate() |
TimeUnit |
getRateUnit() |
void |
mark()
Mark the occurrence of an event.
|
void |
mark(long n)
Mark the occurrence of a given number of events.
|
public TimeUnit getRateUnit()
public String getEventType()
public void mark()
public void mark(long n)
n
- the number of eventspublic long getCount()
public double getFifteenMinuteRate()
public double getFiveMinuteRate()
public double getMeanRate()
public double getOneMinuteRate()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.