Package | Description |
---|---|
org.apache.hadoop.metrics2 |
Metrics 2.0
|
org.apache.hadoop.metrics2.util |
General helpers for implementing source and sinks
|
Modifier and Type | Method and Description |
---|---|
Iterable<AbstractMetric> |
MetricsRecord.metrics()
Get the metrics of the record
|
Modifier and Type | Method and Description |
---|---|
MetricsRecordBuilder |
MetricStringBuilder.add(AbstractMetric metric) |
abstract MetricsRecordBuilder |
MetricsRecordBuilder.add(AbstractMetric metric)
Add a pre-made immutable metric object
|
Modifier and Type | Method and Description |
---|---|
AbstractMetric |
MetricsCache.Record.getMetricInstance(String key)
Lookup a metric instance
|
Modifier and Type | Method and Description |
---|---|
Set<Map.Entry<String,AbstractMetric>> |
MetricsCache.Record.metricsEntrySet() |
Copyright © 2017 Apache Software Foundation. All Rights Reserved.