Class 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 safe Histogram 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.flink.metrics.Histogram

        getMetricType
    • Constructor Detail

      • SynchronizedHistogram

        public SynchronizedHistogram​(org.apache.flink.metrics.Histogram delegate)
    • Method Detail

      • update

        public void update​(long l)
        Specified by:
        update in interface org.apache.flink.metrics.Histogram
      • getCount

        public long getCount()
        Specified by:
        getCount in interface org.apache.flink.metrics.Histogram
      • getStatistics

        public org.apache.flink.metrics.HistogramStatistics getStatistics()
        Specified by:
        getStatistics in interface org.apache.flink.metrics.Histogram