Class OperatorMetricUtils.SynchronizedHistogram
- java.lang.Object
-
- org.apache.flink.kubernetes.operator.metrics.OperatorMetricUtils.SynchronizedHistogram
-
- All Implemented Interfaces:
org.apache.flink.metrics.Histogram
,org.apache.flink.metrics.Metric
- Enclosing class:
- OperatorMetricUtils
public static class OperatorMetricUtils.SynchronizedHistogram extends java.lang.Object implements org.apache.flink.metrics.Histogram
Thread safeHistogram
wrapper.
-
-
Constructor Summary
Constructors Constructor Description SynchronizedHistogram(org.apache.flink.metrics.Histogram delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCount()
org.apache.flink.metrics.HistogramStatistics
getStatistics()
void
update(long l)
-
-
-
Method Detail
-
update
public void update(long l)
- Specified by:
update
in interfaceorg.apache.flink.metrics.Histogram
-
getCount
public long getCount()
- Specified by:
getCount
in interfaceorg.apache.flink.metrics.Histogram
-
getStatistics
public org.apache.flink.metrics.HistogramStatistics getStatistics()
- Specified by:
getStatistics
in interfaceorg.apache.flink.metrics.Histogram
-
-