Class NamedWindowDispatchServiceImpl
java.lang.Object
com.espertech.esper.runtime.internal.namedwindow.NamedWindowDispatchServiceImpl
- All Implemented Interfaces:
com.espertech.esper.common.internal.epl.namedwindow.consume.NamedWindowDispatchService
public class NamedWindowDispatchServiceImpl
extends Object
implements com.espertech.esper.common.internal.epl.namedwindow.consume.NamedWindowDispatchService
This service hold for each named window a dedicated processor and a lock to the named window.
This lock is shrared between the named window and on-delete statements.
-
Constructor Summary
ConstructorDescriptionNamedWindowDispatchServiceImpl
(com.espertech.esper.common.internal.schedule.SchedulingService schedulingService, com.espertech.esper.common.internal.epl.variable.core.VariableManagementService variableService, com.espertech.esper.common.internal.epl.table.core.TableManagementService tableManagementService, boolean isPrioritized, com.espertech.esper.common.internal.util.ManagedReadWriteLock eventProcessingRWLock, com.espertech.esper.common.internal.settings.ExceptionHandlingService exceptionHandlingService, com.espertech.esper.common.internal.metrics.stmtmetrics.MetricReportingService metricReportingService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDispatch
(com.espertech.esper.common.internal.epl.namedwindow.consume.NamedWindowConsumerLatchFactory latchFactory, com.espertech.esper.common.internal.epl.namedwindow.consume.NamedWindowDeltaData delta, Map<com.espertech.esper.common.internal.context.util.EPStatementAgentInstanceHandle, List<com.espertech.esper.common.internal.epl.namedwindow.consume.NamedWindowConsumerView>> consumers) void
destroy()
boolean
dispatch()
LinkedHashMap<com.espertech.esper.common.internal.epl.namedwindow.consume.NamedWindowConsumerView,
com.espertech.esper.common.internal.epl.namedwindow.consume.NamedWindowDeltaData> getDeltaPerConsumer
(Object perStmtObj, com.espertech.esper.common.internal.context.util.EPStatementAgentInstanceHandle handle)
-
Constructor Details
-
NamedWindowDispatchServiceImpl
public NamedWindowDispatchServiceImpl(com.espertech.esper.common.internal.schedule.SchedulingService schedulingService, com.espertech.esper.common.internal.epl.variable.core.VariableManagementService variableService, com.espertech.esper.common.internal.epl.table.core.TableManagementService tableManagementService, boolean isPrioritized, com.espertech.esper.common.internal.util.ManagedReadWriteLock eventProcessingRWLock, com.espertech.esper.common.internal.settings.ExceptionHandlingService exceptionHandlingService, com.espertech.esper.common.internal.metrics.stmtmetrics.MetricReportingService metricReportingService)
-
-
Method Details
-
destroy
public void destroy()- Specified by:
destroy
in interfacecom.espertech.esper.common.internal.epl.namedwindow.consume.NamedWindowDispatchService
-
addDispatch
public void addDispatch(com.espertech.esper.common.internal.epl.namedwindow.consume.NamedWindowConsumerLatchFactory latchFactory, com.espertech.esper.common.internal.epl.namedwindow.consume.NamedWindowDeltaData delta, Map<com.espertech.esper.common.internal.context.util.EPStatementAgentInstanceHandle, List<com.espertech.esper.common.internal.epl.namedwindow.consume.NamedWindowConsumerView>> consumers) - Specified by:
addDispatch
in interfacecom.espertech.esper.common.internal.epl.namedwindow.consume.NamedWindowDispatchService
-
dispatch
public boolean dispatch()- Specified by:
dispatch
in interfacecom.espertech.esper.common.internal.epl.namedwindow.consume.NamedWindowDispatchService
-
getDeltaPerConsumer
public LinkedHashMap<com.espertech.esper.common.internal.epl.namedwindow.consume.NamedWindowConsumerView,com.espertech.esper.common.internal.epl.namedwindow.consume.NamedWindowDeltaData> getDeltaPerConsumer(Object perStmtObj, com.espertech.esper.common.internal.context.util.EPStatementAgentInstanceHandle handle)
-