public class MeterImpl extends AbstractMetric implements org.wso2.carbon.metrics.manager.Meter
Meter metric| Constructor and Description |
|---|
MeterImpl(String name,
org.wso2.carbon.metrics.manager.Level level,
com.codahale.metrics.Meter meter) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCount() |
void |
mark() |
void |
mark(long n) |
getLevel, getName, isEnabledpublic MeterImpl(String name, org.wso2.carbon.metrics.manager.Level level, com.codahale.metrics.Meter meter)
public void mark()
mark in interface org.wso2.carbon.metrics.manager.Meterpublic void mark(long n)
mark in interface org.wso2.carbon.metrics.manager.Meterpublic long getCount()
getCount in interface org.wso2.carbon.metrics.manager.MeterCopyright © 2014–2022 WSO2. All rights reserved.