public class Log4jMetricsSink extends Object implements org.apache.hadoop.metrics2.MetricsSink
Constructor and Description |
---|
Log4jMetricsSink() |
Modifier and Type | Method and Description |
---|---|
void |
flush() |
void |
init(org.apache.commons.configuration.SubsetConfiguration conf) |
void |
putMetrics(org.apache.hadoop.metrics2.MetricsRecord record) |
public void init(org.apache.commons.configuration.SubsetConfiguration conf)
init
in interface org.apache.hadoop.metrics2.MetricsPlugin
public void putMetrics(org.apache.hadoop.metrics2.MetricsRecord record)
putMetrics
in interface org.apache.hadoop.metrics2.MetricsSink
public void flush()
flush
in interface org.apache.hadoop.metrics2.MetricsSink
Copyright © 2016 Apache Software Foundation. All Rights Reserved.