Package org.apache.hadoop.hbase.test
Class MetricsAssertHelperImpl.MockRecordBuilder
java.lang.Object
org.apache.hadoop.metrics2.MetricsRecordBuilder
org.apache.hadoop.hbase.test.MetricsAssertHelperImpl.MockRecordBuilder
- Enclosing class:
- MetricsAssertHelperImpl
public class MetricsAssertHelperImpl.MockRecordBuilder
extends org.apache.hadoop.metrics2.MetricsRecordBuilder
-
Field Summary
Modifier and TypeFieldDescriptionprivate final org.apache.hadoop.metrics2.MetricsCollector
-
Constructor Summary
ConstructorDescriptionMockRecordBuilder
(org.apache.hadoop.metrics2.MetricsCollector mockMetricsBuilder) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.metrics2.MetricsRecordBuilder
add
(org.apache.hadoop.metrics2.AbstractMetric abstractMetric) org.apache.hadoop.metrics2.MetricsRecordBuilder
add
(org.apache.hadoop.metrics2.MetricsTag metricsTag) org.apache.hadoop.metrics2.MetricsRecordBuilder
addCounter
(org.apache.hadoop.metrics2.MetricsInfo metricsInfo, int i) org.apache.hadoop.metrics2.MetricsRecordBuilder
addCounter
(org.apache.hadoop.metrics2.MetricsInfo metricsInfo, long l) org.apache.hadoop.metrics2.MetricsRecordBuilder
addGauge
(org.apache.hadoop.metrics2.MetricsInfo metricsInfo, double v) org.apache.hadoop.metrics2.MetricsRecordBuilder
addGauge
(org.apache.hadoop.metrics2.MetricsInfo metricsInfo, float v) org.apache.hadoop.metrics2.MetricsRecordBuilder
addGauge
(org.apache.hadoop.metrics2.MetricsInfo metricsInfo, int i) org.apache.hadoop.metrics2.MetricsRecordBuilder
addGauge
(org.apache.hadoop.metrics2.MetricsInfo metricsInfo, long l) org.apache.hadoop.metrics2.MetricsCollector
parent()
org.apache.hadoop.metrics2.MetricsRecordBuilder
setContext
(String s) org.apache.hadoop.metrics2.MetricsRecordBuilder
Methods inherited from class org.apache.hadoop.metrics2.MetricsRecordBuilder
endRecord
-
Field Details
-
mockMetricsBuilder
-
-
Constructor Details
-
MockRecordBuilder
-
-
Method Details
-
tag
public org.apache.hadoop.metrics2.MetricsRecordBuilder tag(org.apache.hadoop.metrics2.MetricsInfo metricsInfo, String s) - Specified by:
tag
in classorg.apache.hadoop.metrics2.MetricsRecordBuilder
-
add
public org.apache.hadoop.metrics2.MetricsRecordBuilder add(org.apache.hadoop.metrics2.MetricsTag metricsTag) - Specified by:
add
in classorg.apache.hadoop.metrics2.MetricsRecordBuilder
-
add
public org.apache.hadoop.metrics2.MetricsRecordBuilder add(org.apache.hadoop.metrics2.AbstractMetric abstractMetric) - Specified by:
add
in classorg.apache.hadoop.metrics2.MetricsRecordBuilder
-
setContext
- Specified by:
setContext
in classorg.apache.hadoop.metrics2.MetricsRecordBuilder
-
addCounter
public org.apache.hadoop.metrics2.MetricsRecordBuilder addCounter(org.apache.hadoop.metrics2.MetricsInfo metricsInfo, int i) - Specified by:
addCounter
in classorg.apache.hadoop.metrics2.MetricsRecordBuilder
-
addCounter
public org.apache.hadoop.metrics2.MetricsRecordBuilder addCounter(org.apache.hadoop.metrics2.MetricsInfo metricsInfo, long l) - Specified by:
addCounter
in classorg.apache.hadoop.metrics2.MetricsRecordBuilder
-
addGauge
public org.apache.hadoop.metrics2.MetricsRecordBuilder addGauge(org.apache.hadoop.metrics2.MetricsInfo metricsInfo, int i) - Specified by:
addGauge
in classorg.apache.hadoop.metrics2.MetricsRecordBuilder
-
addGauge
public org.apache.hadoop.metrics2.MetricsRecordBuilder addGauge(org.apache.hadoop.metrics2.MetricsInfo metricsInfo, long l) - Specified by:
addGauge
in classorg.apache.hadoop.metrics2.MetricsRecordBuilder
-
addGauge
public org.apache.hadoop.metrics2.MetricsRecordBuilder addGauge(org.apache.hadoop.metrics2.MetricsInfo metricsInfo, float v) - Specified by:
addGauge
in classorg.apache.hadoop.metrics2.MetricsRecordBuilder
-
addGauge
public org.apache.hadoop.metrics2.MetricsRecordBuilder addGauge(org.apache.hadoop.metrics2.MetricsInfo metricsInfo, double v) - Specified by:
addGauge
in classorg.apache.hadoop.metrics2.MetricsRecordBuilder
-
parent
- Specified by:
parent
in classorg.apache.hadoop.metrics2.MetricsRecordBuilder
-