public class DataNodeMetricHelper
extends java.lang.Object
| Constructor | Description |
|---|---|
DataNodeMetricHelper() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
getMetrics(org.apache.hadoop.metrics2.MetricsCollector collector,
FSDatasetMBean beanClass,
java.lang.String context) |
Get metrics helper provides Helper function for
metrics2 interface to act as a Metric source
|
public static void getMetrics(org.apache.hadoop.metrics2.MetricsCollector collector,
FSDatasetMBean beanClass,
java.lang.String context)
throws java.io.IOException
collector - Metrics Collector that is passed inbeanClass - The Class that currently impliments the metric functionscontext - A string that idenitifies the contextjava.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.