Class DatasourceResourcesMetric
java.lang.Object
com.inductiveautomation.ignition.gateway.metrics.DescriptiveRatioGauge
com.inductiveautomation.ignition.gateway.datasource.config.DatasourceResourcesMetric
- All Implemented Interfaces:
com.codahale.metrics.Gauge<Double>, com.codahale.metrics.Metric, DescriptiveMetric
-
Nested Class Summary
Nested classes/interfaces inherited from class DescriptiveRatioGauge
DescriptiveRatioGauge.Ratio -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class DescriptiveRatioGauge
getDescription, 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
-
DatasourceResourcesMetric
-
-
Method Details
-
getRatio
- Specified by:
getRatioin classDescriptiveRatioGauge- Returns:
- the Ratio which is the gauge's current value
-
getErrorValue
- Overrides:
getErrorValuein classDescriptiveRatioGauge- Returns:
- how much of the gauge's current value represents an errored state
-