|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use MetricsTag | |
|---|---|
| org.apache.hadoop.metrics2 | Metrics 2.0 |
| org.apache.hadoop.metrics2.lib | A collection of library classes for implementing metrics sources |
| org.apache.hadoop.metrics2.util | General helpers for implementing source and sinks |
| Uses of MetricsTag in org.apache.hadoop.metrics2 |
|---|
| Methods in org.apache.hadoop.metrics2 that return types with arguments of type MetricsTag | |
|---|---|
Collection<MetricsTag> |
MetricsRecord.tags()
Get the tags of the record Note: returning a collection instead of iterable as we need to use tags as keys (hence Collection#hashCode etc.) in maps |
| Methods in org.apache.hadoop.metrics2 with parameters of type MetricsTag | |
|---|---|
abstract boolean |
MetricsFilter.accepts(MetricsTag tag)
Whether to accept the tag |
abstract MetricsRecordBuilder |
MetricsRecordBuilder.add(MetricsTag tag)
Add an immutable metrics tag object |
| Method parameters in org.apache.hadoop.metrics2 with type arguments of type MetricsTag | |
|---|---|
abstract boolean |
MetricsFilter.accepts(Iterable<MetricsTag> tags)
Whether to accept the tags |
| Uses of MetricsTag in org.apache.hadoop.metrics2.lib |
|---|
| Methods in org.apache.hadoop.metrics2.lib that return MetricsTag | |
|---|---|
MetricsTag |
MetricsRegistry.getTag(String name)
Get a tag by name |
static MetricsTag |
Interns.tag(MetricsInfo info,
String value)
Get a metrics tag |
static MetricsTag |
Interns.tag(String name,
String description,
String value)
Get a metrics tag |
| Uses of MetricsTag in org.apache.hadoop.metrics2.util |
|---|
| Method parameters in org.apache.hadoop.metrics2.util with type arguments of type MetricsTag | |
|---|---|
org.apache.hadoop.metrics2.util.MetricsCache.Record |
MetricsCache.get(String name,
Collection<MetricsTag> tags)
Get the cached record |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||