public final class MetricsPrefixPredicate extends MetricsFilterPredicate
MetricsFilterPredicate
class to represent the
prefix to use when evaluating a metrics filter.Constructor and Description |
---|
MetricsPrefixPredicate(String prefix) |
Modifier and Type | Method and Description |
---|---|
void |
accept(MetricsPredicateVisitor metricsPredicateVisitor)
Helper method that accepts an implemenation of
MetricsPredicateVisitor
and invokes the most applicable visit method in the visitor. |
String |
getPrefix()
Returns the prefix to use when evaluating a metrics filter.
|
public MetricsPrefixPredicate(String prefix)
public String getPrefix()
public void accept(MetricsPredicateVisitor metricsPredicateVisitor)
MetricsFilterPredicate
MetricsPredicateVisitor
and invokes the most applicable visit method in the visitor.accept
in class MetricsFilterPredicate
Copyright © 2024. All rights reserved.