Class MetricsAssertHelperImpl.MockMetricsBuilder

java.lang.Object
org.apache.hadoop.hbase.test.MetricsAssertHelperImpl.MockMetricsBuilder
All Implemented Interfaces:
org.apache.hadoop.metrics2.MetricsCollector
Enclosing class:
MetricsAssertHelperImpl

public class MetricsAssertHelperImpl.MockMetricsBuilder extends Object implements org.apache.hadoop.metrics2.MetricsCollector
  • Constructor Details

  • Method Details

    • addRecord

      public org.apache.hadoop.metrics2.MetricsRecordBuilder addRecord(String s)
      Specified by:
      addRecord in interface org.apache.hadoop.metrics2.MetricsCollector
    • addRecord

      public org.apache.hadoop.metrics2.MetricsRecordBuilder addRecord(org.apache.hadoop.metrics2.MetricsInfo metricsInfo)
      Specified by:
      addRecord in interface org.apache.hadoop.metrics2.MetricsCollector