Class MetricValue.MetricsSnapshotMetricValue
- java.lang.Object
-
- com.inductiveautomation.ignition.common.MetricValue.AbstractMetricValue
-
- com.inductiveautomation.ignition.common.MetricValue.MetricsSnapshotMetricValue
-
- All Implemented Interfaces:
MetricValue
- Enclosing interface:
- MetricValue
public static class MetricValue.MetricsSnapshotMetricValue extends MetricValue.AbstractMetricValue
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.inductiveautomation.ignition.common.MetricValue
MetricValue.AbstractMetricValue, MetricValue.MetricsSnapshotMetricValue
-
-
Constructor Summary
Constructors Constructor Description MetricsSnapshotMetricValue(LocalizedString nameKey, com.codahale.metrics.Snapshot value)
MetricsSnapshotMetricValue(java.lang.String nameKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getRawValue()
MetricValue.MetricsSnapshotMetricValue
update(com.codahale.metrics.Snapshot sn)
java.lang.String
valueToString(java.util.Locale locale)
-
Methods inherited from class com.inductiveautomation.ignition.common.MetricValue.AbstractMetricValue
getName, getUnits
-
-
-
-
Constructor Detail
-
MetricsSnapshotMetricValue
public MetricsSnapshotMetricValue(java.lang.String nameKey)
-
MetricsSnapshotMetricValue
public MetricsSnapshotMetricValue(LocalizedString nameKey, com.codahale.metrics.Snapshot value)
-
-
Method Detail
-
getRawValue
public java.lang.Object getRawValue()
-
valueToString
public java.lang.String valueToString(java.util.Locale locale)
-
update
public MetricValue.MetricsSnapshotMetricValue update(com.codahale.metrics.Snapshot sn)
-
-