|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.client.ConfigurationMetricsReporting.StmtGroupMetrics
public static class ConfigurationMetricsReporting.StmtGroupMetrics
Class to configure statement metrics reporting for a group of one or more statements.
Constructor Summary | |
---|---|
ConfigurationMetricsReporting.StmtGroupMetrics()
Ctor. |
Method Summary | |
---|---|
void |
addExcludeLike(java.lang.String likeExpression)
Exclude all statements from the statement group that match the SQL like-expression by statement name. |
void |
addExcludeRegEx(java.lang.String regexExpression)
Exclude all statements in the statement group that match the regular expression by statement name. |
void |
addIncludeLike(java.lang.String likeExpression)
Include all statements in the statement group that match the SQL like-expression by statement name. |
void |
addIncludeRegex(java.lang.String regexExpression)
Include all statements in the statement group that match the regular expression by statement name. |
long |
getInterval()
Returns the reporting interval for statement metrics for statements in the statement group. |
int |
getNumStatements()
Returns the initial capacity number of statements held by the statement group. |
java.util.List<Pair<StringPatternSet,java.lang.Boolean>> |
getPatterns()
Returns a list of patterns that indicate whether a statement, by the statement name matching or not matching each pattern, falls within the statement group. |
boolean |
isDefaultInclude()
If this flag is set then all statement names are automatically included in this statement group, and through exclude-pattern certain statement names can be omitted |
boolean |
isReportInactive()
Returns true to indicate that inactive statements (statements without events or timer activity) are also reported. |
void |
setDefaultInclude(boolean defaultInclude)
Set this flag to true and all statement names are automatically included in this statement group, and through exclude-pattern certain statement names can be omitted |
void |
setInterval(long interval)
Sets the reporting interval for statement metrics for statements in the statement group. |
void |
setNumStatements(int numStatements)
Sets the initial capacity number of statements held by the statement group. |
void |
setReportInactive(boolean reportInactive)
Set to true to indicate that inactive statements (statements without events or timer activity) are also reported, or false to omit reporting for inactive statements. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigurationMetricsReporting.StmtGroupMetrics()
Method Detail |
---|
public void addIncludeLike(java.lang.String likeExpression)
likeExpression
- to matchpublic void addExcludeLike(java.lang.String likeExpression)
likeExpression
- to matchpublic void addIncludeRegex(java.lang.String regexExpression)
regexExpression
- to matchpublic void addExcludeRegEx(java.lang.String regexExpression)
regexExpression
- to matchpublic long getInterval()
public void setInterval(long interval)
interval
- a negative or zero value to disable reporting for this group of statementspublic java.util.List<Pair<StringPatternSet,java.lang.Boolean>> getPatterns()
Include-patterns are boolean true in the pair of pattern and boolean. Exclude-patterns are boolean false.
public int getNumStatements()
public void setNumStatements(int numStatements)
numStatements
- initial capacitypublic boolean isReportInactive()
public void setReportInactive(boolean reportInactive)
reportInactive
- set to true for reporting inactive statementspublic boolean isDefaultInclude()
If this flag is not set then all statement names are automatically excluded in this statement group, and through include-pattern certain statement names can be included.
The default is false, i.e. statements must be explicitly included.
public void setDefaultInclude(boolean defaultInclude)
Set this flag to false and all statement names are automatically excluded in this statement group, and through include-pattern certain statement names can be included.
The default is false, i.e. statements must be explicitly included.
defaultInclude
- true for include all statements, false for explicitly include statements
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |