Class InternalEventRouterPreprocessor
java.lang.Object
com.espertech.esper.common.internal.context.util.InternalEventRouterPreprocessor
Interface for a service that routes events within the runtimefor further processing.
-
Constructor Summary
ConstructorDescriptionInternalEventRouterPreprocessor
(EventBeanCopyMethod copyMethod, List<InternalEventRouterEntry> entries) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionprocess
(EventBean theEvent, ExprEvaluatorContext exprEvaluatorContext, InstrumentationCommon instrumentation) Pre-proces the event.
-
Constructor Details
-
InternalEventRouterPreprocessor
public InternalEventRouterPreprocessor(EventBeanCopyMethod copyMethod, List<InternalEventRouterEntry> entries) Ctor.- Parameters:
copyMethod
- for copying the events to preprocessentries
- descriptors for pre-processing to apply
-
-
Method Details
-
process
public EventBean process(EventBean theEvent, ExprEvaluatorContext exprEvaluatorContext, InstrumentationCommon instrumentation) Pre-proces the event.- Parameters:
theEvent
- to pre-processexprEvaluatorContext
- expression evaluation contextinstrumentation
- instrumentation- Returns:
- processed event
-