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.HistogramThread safeHistogramwrapper.
-
-
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 longgetCount()org.apache.flink.metrics.HistogramStatisticsgetStatistics()voidupdate(long l)
-
-
-
Method Detail
-
update
public void update(long l)
- Specified by:
updatein interfaceorg.apache.flink.metrics.Histogram
-
getCount
public long getCount()
- Specified by:
getCountin interfaceorg.apache.flink.metrics.Histogram
-
getStatistics
public org.apache.flink.metrics.HistogramStatistics getStatistics()
- Specified by:
getStatisticsin interfaceorg.apache.flink.metrics.Histogram
-
-