Constructor and Description |
---|
TestMeter() |
Modifier and Type | Method and Description |
---|---|
long |
getCount()
Get number of events marked on the meter.
|
double |
getRate()
Returns the current rate of events per second.
|
void |
markEvent()
Mark occurrence of an event.
|
void |
markEvent(long n)
Mark occurrence of multiple events.
|
public void markEvent()
Meter
public void markEvent(long n)
Meter
public double getRate()
Meter
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.