Class DefaultResourceEntityDelegate.EnabledResourcesMetric
java.lang.Object
com.inductiveautomation.ignition.gateway.metrics.DescriptiveRatioGauge
com.inductiveautomation.ignition.gateway.config.DefaultResourceEntityDelegate.EnabledResourcesMetric
- All Implemented Interfaces:
com.codahale.metrics.Gauge<Double>, com.codahale.metrics.Metric, DescriptiveMetric
- Enclosing class:
DefaultResourceEntityDelegate
protected static class DefaultResourceEntityDelegate.EnabledResourcesMetric
extends DescriptiveRatioGauge
A ratio gauge that shows enabled/total resources for a given resource type
-
Nested Class Summary
Nested classes/interfaces inherited from class DescriptiveRatioGauge
DescriptiveRatioGauge.Ratio -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class DescriptiveRatioGauge
getDescription, getErrorValue, getUnits, getValueMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DescriptiveMetric
getDescription, getUnits
-
Constructor Details
-
EnabledResourcesMetric
-
-
Method Details
-
getRatio
- Specified by:
getRatioin classDescriptiveRatioGauge- Returns:
- the Ratio which is the gauge's current value
-