public class QueryMatcher extends Object implements Serializable
| Constructor and Description |
|---|
QueryMatcher(TextMatcher threadNameTextMatcher,
TextMatcher queryTextMatcher,
Set<QueryType> queryTypeSet,
boolean isActive) |
| Modifier and Type | Method and Description |
|---|---|
TextMatcher |
getQueryTextMatcher() |
Set<QueryType> |
getQueryTypeSet() |
TextMatcher |
getThreadNameTextMatcher() |
boolean |
isActive() |
boolean |
matches(QueryInfo queryInfo) |
public QueryMatcher(TextMatcher threadNameTextMatcher, TextMatcher queryTextMatcher, Set<QueryType> queryTypeSet, boolean isActive)
threadNameTextMatcher - a text matcher for thread name or null for
no text matching.queryTextMatcher - a text matcher for statement or null for no text
matching.queryTypeSet - some types or null for all types.public boolean matches(QueryInfo queryInfo)
public TextMatcher getThreadNameTextMatcher()
public TextMatcher getQueryTextMatcher()
public boolean isActive()
Copyright © 2013. All Rights Reserved.