Class UpdateDispatchViewBlockingSpin
java.lang.Object
com.espertech.esper.common.internal.view.core.ViewSupport
com.espertech.esper.runtime.internal.kernel.updatedispatch.UpdateDispatchViewBase
com.espertech.esper.runtime.internal.kernel.updatedispatch.UpdateDispatchViewBlockingSpin
- All Implemented Interfaces:
com.espertech.esper.common.internal.statement.dispatch.Dispatchable
,com.espertech.esper.common.internal.statement.dispatch.UpdateDispatchView
,com.espertech.esper.common.internal.view.core.View
,com.espertech.esper.common.internal.view.core.Viewable
,Iterable<com.espertech.esper.common.client.EventBean>
Convenience view for dispatching view updates received from a parent view to update listeners
via the dispatch service.
-
Field Summary
Fields inherited from class com.espertech.esper.runtime.internal.kernel.updatedispatch.UpdateDispatchViewBase
dispatchService, eventType, lastIterableEvent, statementResultService
Fields inherited from class com.espertech.esper.common.internal.view.core.ViewSupport
child, parent
Fields inherited from interface com.espertech.esper.common.internal.view.core.Viewable
EPTYPE
-
Constructor Summary
ConstructorDescriptionUpdateDispatchViewBlockingSpin
(com.espertech.esper.common.client.EventType eventType, com.espertech.esper.common.internal.context.util.StatementResultService statementResultService, com.espertech.esper.common.internal.statement.dispatch.DispatchService dispatchService, long msecTimeout, com.espertech.esper.common.internal.schedule.TimeSourceService timeSourceService) Ctor. -
Method Summary
Methods inherited from class com.espertech.esper.runtime.internal.kernel.updatedispatch.UpdateDispatchViewBase
cancelled, clear, execute, getEventType, getStatementResultService, getView, iterator
Methods inherited from class com.espertech.esper.common.internal.view.core.ViewSupport
getChild, getParent, setChild, setParent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface com.espertech.esper.common.internal.view.core.View
getParent, setParent
Methods inherited from interface com.espertech.esper.common.internal.view.core.Viewable
getChild, setChild
-
Constructor Details
-
UpdateDispatchViewBlockingSpin
public UpdateDispatchViewBlockingSpin(com.espertech.esper.common.client.EventType eventType, com.espertech.esper.common.internal.context.util.StatementResultService statementResultService, com.espertech.esper.common.internal.statement.dispatch.DispatchService dispatchService, long msecTimeout, com.espertech.esper.common.internal.schedule.TimeSourceService timeSourceService) Ctor.- Parameters:
dispatchService
- - for performing the dispatchmsecTimeout
- - timeout for preserving dispatch order through blockingstatementResultService
- - handles result deliverytimeSourceService
- time source providereventType
- event type
-
-
Method Details
-
update
public void update(com.espertech.esper.common.client.EventBean[] newData, com.espertech.esper.common.client.EventBean[] oldData) - Specified by:
update
in interfacecom.espertech.esper.common.internal.view.core.View
- Overrides:
update
in classUpdateDispatchViewBase
-
newResult
public void newResult(com.espertech.esper.common.internal.collection.UniformPair<com.espertech.esper.common.client.EventBean[]> result) - Specified by:
newResult
in interfacecom.espertech.esper.common.internal.statement.dispatch.UpdateDispatchView
- Overrides:
newResult
in classUpdateDispatchViewBase
-