public class MetricsContent extends Content
Constructor and Description |
---|
MetricsContent(String name,
com.codahale.metrics.MetricRegistry metricsRegistry) |
MetricsContent(String name,
String[] filterableParameters,
com.codahale.metrics.MetricRegistry metricsRegistry) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldBeFiltered()
Indicates if this Content should be filtered when anonymization is enabled.
|
void |
writeTo(OutputStream os) |
getFilterableParameters, getName, getTime
public MetricsContent(String name, com.codahale.metrics.MetricRegistry metricsRegistry)
public void writeTo(OutputStream os) throws IOException
writeTo
in class Content
IOException
public boolean shouldBeFiltered()
Content
true
, the contents written via
Content.writeTo(OutputStream)
may be filtered by a ContentFilter
.
When false
, the contents are written without any filtering applied.shouldBeFiltered
in class Content
Copyright © 2016–2022. All rights reserved.