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 TypeMethodDescriptionlong
getCount()
getDescription
(Locale locale) A short description of what this metric represents.double
double
double
double
A short string representing the units of this metric.void
mark()
void
mark
(long n) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.inductiveautomation.ignition.gateway.metrics.DescriptiveMetric
getDescription, getUnits
-
Constructor Details
-
DescriptiveDelegateMeter
-
-
Method Details
-
mark
public void mark()- Overrides:
mark
in classcom.codahale.metrics.Meter
-
mark
public void mark(long n) - Overrides:
mark
in classcom.codahale.metrics.Meter
-
getCount
public long getCount()- Specified by:
getCount
in interfacecom.codahale.metrics.Counting
- Specified by:
getCount
in interfacecom.codahale.metrics.Metered
- Overrides:
getCount
in classcom.codahale.metrics.Meter
-
getFifteenMinuteRate
public double getFifteenMinuteRate()- Specified by:
getFifteenMinuteRate
in interfacecom.codahale.metrics.Metered
- Overrides:
getFifteenMinuteRate
in classcom.codahale.metrics.Meter
-
getFiveMinuteRate
public double getFiveMinuteRate()- Specified by:
getFiveMinuteRate
in interfacecom.codahale.metrics.Metered
- Overrides:
getFiveMinuteRate
in classcom.codahale.metrics.Meter
-
getMeanRate
public double getMeanRate()- Specified by:
getMeanRate
in interfacecom.codahale.metrics.Metered
- Overrides:
getMeanRate
in classcom.codahale.metrics.Meter
-
getOneMinuteRate
public double getOneMinuteRate()- Specified by:
getOneMinuteRate
in interfacecom.codahale.metrics.Metered
- Overrides:
getOneMinuteRate
in classcom.codahale.metrics.Meter
-
getDescription
Description copied from interface:DescriptiveMetric
A short description of what this metric represents. For example "JVM Heap Size" or "Thread Count" or "Subsystem X script executions"- Specified by:
getDescription
in interfaceDescriptiveMetric
-
getUnits
Description copied from interface:DescriptiveMetric
A short string representing the units of this metric. For example "MB" or "threads" or "executions"- Specified by:
getUnits
in interfaceDescriptiveMetric
-