public final class MetricsPrefixPredicate extends MetricsFilterPredicate
MetricsFilterPredicate
class to represent the
prefix to use when evaluating a metrics filter.Constructor and Description |
---|
MetricsPrefixPredicate(java.lang.String prefix)
Constructor.
|
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. |
java.lang.String |
getPrefix() |
public MetricsPrefixPredicate(java.lang.String prefix)
prefix
- the prefix used when evaluating a metrics filter.public java.lang.String getPrefix()
public void accept(MetricsPredicateVisitor metricsPredicateVisitor)
MetricsFilterPredicate
MetricsPredicateVisitor
and invokes the most applicable visit method in the visitor.accept
in class MetricsFilterPredicate
metricsPredicateVisitor
- the MetricsPredicateVisitor.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.