Class MetricsExecutorUnthreaded
java.lang.Object
com.espertech.esper.common.internal.metrics.stmtmetrics.MetricsExecutorUnthreaded
- All Implemented Interfaces:
MetricsExecutor
Metrics executor executing in-thread.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
Shut down executor.void
execute
(MetricExec execution, MetricExecutionContext executionContext) Execute a metrics execution.
-
Constructor Details
-
MetricsExecutorUnthreaded
public MetricsExecutorUnthreaded()
-
-
Method Details
-
execute
Description copied from interface:MetricsExecutor
Execute a metrics execution.- Specified by:
execute
in interfaceMetricsExecutor
- Parameters:
execution
- to executeexecutionContext
- context in which to execute
-
destroy
public void destroy()Description copied from interface:MetricsExecutor
Shut down executor.- Specified by:
destroy
in interfaceMetricsExecutor
-