public class MeterImpl extends Object implements org.eclipse.microprofile.metrics.Meter
EWMA| Constructor and Description |
|---|
MeterImpl()
Creates a new
MeterImpl. |
MeterImpl(Clock clock)
Creates a new
MeterImpl. |
| Modifier and Type | Method and Description |
|---|---|
long |
getCount() |
double |
getFifteenMinuteRate() |
double |
getFiveMinuteRate() |
double |
getMeanRate() |
double |
getOneMinuteRate() |
void |
mark()
Mark the occurrence of an event.
|
void |
mark(long n)
Mark the occurrence of a given number of events.
|
public MeterImpl()
MeterImpl.public void mark()
mark in interface org.eclipse.microprofile.metrics.Meterpublic void mark(long n)
mark in interface org.eclipse.microprofile.metrics.Metern - the number of eventspublic long getCount()
getCount in interface org.eclipse.microprofile.metrics.CountinggetCount in interface org.eclipse.microprofile.metrics.MetergetCount in interface org.eclipse.microprofile.metrics.Meteredpublic double getFifteenMinuteRate()
getFifteenMinuteRate in interface org.eclipse.microprofile.metrics.MetergetFifteenMinuteRate in interface org.eclipse.microprofile.metrics.Meteredpublic double getFiveMinuteRate()
getFiveMinuteRate in interface org.eclipse.microprofile.metrics.MetergetFiveMinuteRate in interface org.eclipse.microprofile.metrics.Meteredpublic double getMeanRate()
getMeanRate in interface org.eclipse.microprofile.metrics.MetergetMeanRate in interface org.eclipse.microprofile.metrics.Meteredpublic double getOneMinuteRate()
getOneMinuteRate in interface org.eclipse.microprofile.metrics.MetergetOneMinuteRate in interface org.eclipse.microprofile.metrics.MeteredCopyright © 2017 JBoss by Red Hat. All rights reserved.