public class FileSink extends Object implements MetricsSink
构造器和说明 |
---|
FileSink() |
限定符和类型 | 方法和说明 |
---|---|
void |
flush()
Flush any buffered metrics
|
void |
init(org.apache.commons.configuration.SubsetConfiguration conf)
Initialize the plugin
|
void |
putMetrics(MetricsRecord record)
Put a metrics record in the sink
|
public void init(org.apache.commons.configuration.SubsetConfiguration conf)
MetricsPlugin
init
在接口中 MetricsPlugin
conf
- the configuration object for the pluginpublic void putMetrics(MetricsRecord record)
MetricsSink
putMetrics
在接口中 MetricsSink
record
- the record to putpublic void flush()
MetricsSink
flush
在接口中 MetricsSink
Copyright © 2009 The Apache Software Foundation