public class EPMetricsStatementGroup
extends java.lang.Object
Constructor and Description |
---|
EPMetricsStatementGroup(com.espertech.esper.common.internal.metrics.stmtmetrics.StatementMetricArray array)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the group name
|
boolean |
isReportInactive()
Returns an indicator whether to report inactive statements
|
void |
iterateStatements(java.util.function.Consumer<EPMetricsStatement> consumer)
Iterate statements of the group.
|
public EPMetricsStatementGroup(com.espertech.esper.common.internal.metrics.stmtmetrics.StatementMetricArray array)
array
- statementspublic java.lang.String getName()
public boolean isReportInactive()
public void iterateStatements(java.util.function.Consumer<EPMetricsStatement> consumer)
This obtains a read-lock on the list of statements belonging to that group, for the duration of the call.
consumer
- receives the statement metrics