Class InternalOperatorIOMetricGroup

java.lang.Object
org.apache.flink.runtime.metrics.groups.ProxyMetricGroup<InternalOperatorMetricGroup>
org.apache.flink.runtime.metrics.groups.InternalOperatorIOMetricGroup
All Implemented Interfaces:
org.apache.flink.metrics.groups.OperatorIOMetricGroup, org.apache.flink.metrics.MetricGroup

@Internal public class InternalOperatorIOMetricGroup extends ProxyMetricGroup<InternalOperatorMetricGroup> implements org.apache.flink.metrics.groups.OperatorIOMetricGroup
Metric group that contains shareable pre-defined IO-related metrics. The metrics registration is forwarded to the parent operator metric group.
  • Constructor Details

  • Method Details

    • getNumRecordsInCounter

      public org.apache.flink.metrics.Counter getNumRecordsInCounter()
      Specified by:
      getNumRecordsInCounter in interface org.apache.flink.metrics.groups.OperatorIOMetricGroup
    • getNumRecordsOutCounter

      public org.apache.flink.metrics.Counter getNumRecordsOutCounter()
      Specified by:
      getNumRecordsOutCounter in interface org.apache.flink.metrics.groups.OperatorIOMetricGroup
    • getNumRecordsInRateMeter

      public org.apache.flink.metrics.Meter getNumRecordsInRateMeter()
    • getNumRecordsOutRate

      public org.apache.flink.metrics.Meter getNumRecordsOutRate()
    • getNumBytesInCounter

      public org.apache.flink.metrics.Counter getNumBytesInCounter()
      Specified by:
      getNumBytesInCounter in interface org.apache.flink.metrics.groups.OperatorIOMetricGroup
    • getNumBytesOutCounter

      public org.apache.flink.metrics.Counter getNumBytesOutCounter()
      Specified by:
      getNumBytesOutCounter in interface org.apache.flink.metrics.groups.OperatorIOMetricGroup
    • reuseInputMetricsForTask

      public void reuseInputMetricsForTask()
      Causes the containing task to use this operators input record counter.
    • reuseOutputMetricsForTask

      public void reuseOutputMetricsForTask()
      Causes the containing task to use this operators output record counter.
    • reuseBytesInputMetricsForTask

      public void reuseBytesInputMetricsForTask()
      Causes the containing task to use this operators input bytes counter.
    • reuseBytesOutputMetricsForTask

      public void reuseBytesOutputMetricsForTask()
      Causes the containing task to use this operators output bytes counter.