|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.metrics2.MetricsFilter
public abstract class MetricsFilter
The metrics filter interface
| Constructor Summary | |
|---|---|
MetricsFilter()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetricsFilter()
| Method Detail |
|---|
public abstract void init(org.apache.commons.configuration.SubsetConfiguration conf)
MetricsPlugin
init in interface MetricsPluginconf - the configuration object for the pluginpublic abstract boolean accepts(String name)
name - to filter on
public abstract boolean accepts(MetricsTag tag)
tag - to filter on
public abstract boolean accepts(Iterable<MetricsTag> tags)
tags - to filter on
public boolean accepts(MetricsRecord record)
record - to filter on
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||