public class MetricWhiteBlackList extends Object implements com.google.common.base.Predicate<String>
| Constructor and Description |
|---|
MetricWhiteBlackList(String pointLineWhiteListRegex,
String pointLineBlackListRegex,
String portName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(String pointLine)
Check to see if the given point line or metric passes the white and black list.
|
public MetricWhiteBlackList(@Nullable String pointLineWhiteListRegex, @Nullable String pointLineBlackListRegex, String portName)
pointLineWhiteListRegex - the white list regular expression.pointLineBlackListRegex - the black list regular expressionportName - the port used as metric name (validationRegex.point-rejected [port=portName])Copyright © 2016. All rights reserved.