public class MetricsLoggerTask extends Object implements Runnable
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
LOG |
| Constructor and Description |
|---|
MetricsLoggerTask(org.apache.commons.logging.Log metricsLog,
String nodeName,
short maxLogLineLength) |
| Modifier and Type | Method and Description |
|---|---|
static void |
makeMetricsLoggerAsync(org.apache.commons.logging.Log metricsLog)
Make the metrics logger async and add all pre-existing appenders to the
async appender.
|
void |
run()
Write metrics to the metrics appender when invoked.
|
public static final org.apache.commons.logging.Log LOG
public MetricsLoggerTask(org.apache.commons.logging.Log metricsLog, String nodeName, short maxLogLineLength)
public void run()
public static void makeMetricsLoggerAsync(org.apache.commons.logging.Log metricsLog)
Copyright © 2017 Apache Software Foundation. All Rights Reserved.