Uses of Class
com.hazelcast.jet.core.metrics.Unit
Package | Description |
---|---|
com.hazelcast.jet.core.metrics |
Jet's Job Metric API.
|
-
Uses of Unit in com.hazelcast.jet.core.metrics
Methods in com.hazelcast.jet.core.metrics that return Unit Modifier and Type Method Description Unit
Metric. unit()
Return the measurement unit for the associated metric.static Unit
Unit. valueOf(String name)
Returns the enum constant of this type with the specified name.static Unit[]
Unit. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.hazelcast.jet.core.metrics with parameters of type Unit Modifier and Type Method Description static Metric
Metrics. metric(String name, Unit unit)
Same asMetrics.metric(String)
, but allows us to also specify the measurementUnit
of the metric.static Metric
Metrics. threadSafeMetric(String name, Unit unit)
Same asMetrics.threadSafeMetric(String)
, but allows us to also specify the measurementUnit
of the metric.