Interface MetricReportingServiceSPI
- All Superinterfaces:
com.espertech.esper.common.internal.metrics.stmtmetrics.MetricReportingService
- All Known Implementing Classes:
MetricReportingServiceImpl
public interface MetricReportingServiceSPI
extends com.espertech.esper.common.internal.metrics.stmtmetrics.MetricReportingService
SPI for metrics activity.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add stmt result listener.Returns output hooks.void
Remove stmt result listener.Methods inherited from interface com.espertech.esper.common.internal.metrics.stmtmetrics.MetricReportingService
accountOutput, accountTime, destroy, getStatementHandle, isMetricsReportingEnabled, iterateMetrics, processTimeEvent, setContext, setMetricsReportingDisabled, setMetricsReportingEnabled, setMetricsReportingInterval, setMetricsReportingStmtDisabled, setMetricsReportingStmtEnabled
-
Method Details
-
addStatementResultListener
Add stmt result listener.- Parameters:
listener
- to add
-
removeStatementResultListener
Remove stmt result listener.- Parameters:
listener
- to remove
-
getStatementOutputHooks
Set<MetricsStatementResultListener> getStatementOutputHooks()Returns output hooks.- Returns:
- hooks.
-