public abstract class MetricsFilter extends Object implements MetricsPlugin
| 构造器和说明 | 
|---|
MetricsFilter()  | 
| 限定符和类型 | 方法和说明 | 
|---|---|
abstract boolean | 
accepts(Iterable<MetricsTag> tags)
Whether to accept the tags 
 | 
boolean | 
accepts(MetricsRecord record)
Whether to accept the record 
 | 
abstract boolean | 
accepts(MetricsTag tag)
Whether to accept the tag 
 | 
abstract boolean | 
accepts(String name)
Whether to accept the name 
 | 
abstract void | 
init(org.apache.commons.configuration.SubsetConfiguration conf)
Initialize the plugin 
 | 
public abstract void init(org.apache.commons.configuration.SubsetConfiguration conf)
MetricsPlugininit 在接口中 MetricsPluginconf - the configuration object for the pluginpublic abstract boolean accepts(String name)
name - to filter onpublic abstract boolean accepts(MetricsTag tag)
tag - to filter onpublic abstract boolean accepts(Iterable<MetricsTag> tags)
tags - to filter onpublic boolean accepts(MetricsRecord record)
record - to filter onCopyright © 2009 The Apache Software Foundation