Class EPMetricsStatementGroup

java.lang.Object
com.espertech.esper.common.client.metric.EPMetricsStatementGroup

public class EPMetricsStatementGroup extends Object
Represents a statement group in the query API for statement metrics
  • Constructor Details

    • EPMetricsStatementGroup

      public EPMetricsStatementGroup(StatementMetricArray array)
      Ctor.
      Parameters:
      array - statements
  • Method Details

    • getName

      public String getName()
      Returns the group name
      Returns:
      group name
    • isReportInactive

      public boolean isReportInactive()
      Returns an indicator whether to report inactive statements
      Returns:
      indicator
    • iterateStatements

      public void iterateStatements(Consumer<EPMetricsStatement> consumer)
      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