Class DescriptiveDelegateMeter
java.lang.Object
com.codahale.metrics.Meter
com.inductiveautomation.ignition.gateway.metrics.DescriptiveDelegateMeter
- All Implemented Interfaces:
com.codahale.metrics.Counting,com.codahale.metrics.Metered,com.codahale.metrics.Metric,DescriptiveMetric
public final class DescriptiveDelegateMeter
extends com.codahale.metrics.Meter
implements DescriptiveMetric
A
Meter implementation that delegates to another Meter instance, while adding descriptive attributes.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetCount()getDescription(Locale locale) A short description of what this metric represents.doubledoubledoubledoubleA short string representing the units of this metric.voidmark()voidmark(long n) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.gateway.metrics.DescriptiveMetric
getDescription, getUnits
-
Constructor Details
-
DescriptiveDelegateMeter
-
-
Method Details
-
mark
public void mark()- Overrides:
markin classcom.codahale.metrics.Meter
-
mark
public void mark(long n) - Overrides:
markin classcom.codahale.metrics.Meter
-
getCount
public long getCount()- Specified by:
getCountin interfacecom.codahale.metrics.Counting- Specified by:
getCountin interfacecom.codahale.metrics.Metered- Overrides:
getCountin classcom.codahale.metrics.Meter
-
getFifteenMinuteRate
public double getFifteenMinuteRate()- Specified by:
getFifteenMinuteRatein interfacecom.codahale.metrics.Metered- Overrides:
getFifteenMinuteRatein classcom.codahale.metrics.Meter
-
getFiveMinuteRate
public double getFiveMinuteRate()- Specified by:
getFiveMinuteRatein interfacecom.codahale.metrics.Metered- Overrides:
getFiveMinuteRatein classcom.codahale.metrics.Meter
-
getMeanRate
public double getMeanRate()- Specified by:
getMeanRatein interfacecom.codahale.metrics.Metered- Overrides:
getMeanRatein classcom.codahale.metrics.Meter
-
getOneMinuteRate
public double getOneMinuteRate()- Specified by:
getOneMinuteRatein interfacecom.codahale.metrics.Metered- Overrides:
getOneMinuteRatein classcom.codahale.metrics.Meter
-
getDescription
Description copied from interface:DescriptiveMetricA short description of what this metric represents. For example "JVM Heap Size" or "Thread Count" or "Subsystem X script executions"- Specified by:
getDescriptionin interfaceDescriptiveMetric
-
getUnits
Description copied from interface:DescriptiveMetricA short string representing the units of this metric. For example "MB" or "threads" or "executions"- Specified by:
getUnitsin interfaceDescriptiveMetric
-