com.espertech.esper.epl.metric
Class MetricsExecutorThreaded

java.lang.Object
  extended by com.espertech.esper.epl.metric.MetricsExecutorThreaded
All Implemented Interfaces:
MetricsExecutor

public class MetricsExecutorThreaded
extends java.lang.Object
implements MetricsExecutor

Metrics executor relying on a cached threadpool.


Constructor Summary
MetricsExecutorThreaded(java.lang.String engineURI)
          Ctor.
 
Method Summary
 void destroy()
          Shut down executor.
 void execute(MetricExec execution, MetricExecutionContext executionContext)
          Execute a metrics execution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetricsExecutorThreaded

public MetricsExecutorThreaded(java.lang.String engineURI)
Ctor.

Parameters:
engineURI - engine URI
Method Detail

execute

public void execute(MetricExec execution,
                    MetricExecutionContext executionContext)
Description copied from interface: MetricsExecutor
Execute a metrics execution.

Specified by:
execute in interface MetricsExecutor
Parameters:
execution - to execute
executionContext - context in which to execute

destroy

public void destroy()
Description copied from interface: MetricsExecutor
Shut down executor.

Specified by:
destroy in interface MetricsExecutor

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com