Class EPMetricsStatementGroup
java.lang.Object
com.espertech.esper.common.client.metric.EPMetricsStatementGroup
Represents a statement group in the query API for statement metrics
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the group nameboolean
Returns an indicator whether to report inactive statementsvoid
iterateStatements
(Consumer<EPMetricsStatement> consumer) Iterate statements of the group.
-
Constructor Details
-
EPMetricsStatementGroup
Ctor.- Parameters:
array
- statements
-
-
Method Details
-
getName
Returns the group name- Returns:
- group name
-
isReportInactive
public boolean isReportInactive()Returns an indicator whether to report inactive statements- Returns:
- indicator
-
iterateStatements
Iterate statements of the group.This obtains a read-lock on the list of statements belonging to that group, for the duration of the call.
- Parameters:
consumer
- receives the statement metrics
-