|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.view.ViewSupport
com.espertech.esper.core.service.UpdateDispatchViewBase
public abstract class UpdateDispatchViewBase
Convenience view for dispatching view updates received from a parent view to update listeners via the dispatch service.
Field Summary | |
---|---|
protected DispatchService |
dispatchService
Dispatches events to listeners. |
protected java.lang.ThreadLocal<java.lang.Boolean> |
isDispatchWaiting
Flag to indicate we have registered a dispatch. |
protected EventBean |
lastIterableEvent
For iteration with patterns. |
protected StatementResultService |
statementResultService
Handles result delivery |
Fields inherited from class com.espertech.esper.view.ViewSupport |
---|
EMPTY_VIEW_ARRAY, parent |
Constructor Summary | |
---|---|
UpdateDispatchViewBase(StatementResultService statementResultServiceImpl,
DispatchService dispatchService)
Ctor. |
Method Summary | |
---|---|
void |
clear()
Remove event reference to last event. |
void |
execute()
Execute dispatch. |
EventType |
getEventType()
Provides metadata information about the type of object the event collection contains. |
StatementResultService |
getStatementResultService()
|
java.util.Iterator<EventBean> |
iterator()
Allows iteration through all elements in this event collection. |
Methods inherited from class com.espertech.esper.view.ViewSupport |
---|
addView, addView, dumpChildViews, dumpUpdateParams, dumpUpdateParams, findDescendent, findViewIndex, getParent, getViews, hasViews, removeAllViews, removeView, removeView, setParent, updateChildren, updateChildren |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.espertech.esper.core.service.UpdateDispatchView |
---|
newResult |
Methods inherited from interface com.espertech.esper.view.View |
---|
getParent, setParent, update |
Methods inherited from interface com.espertech.esper.view.Viewable |
---|
addView, getViews, hasViews, removeAllViews, removeView |
Field Detail |
---|
protected final StatementResultService statementResultService
protected final DispatchService dispatchService
protected EventBean lastIterableEvent
protected java.lang.ThreadLocal<java.lang.Boolean> isDispatchWaiting
Constructor Detail |
---|
public UpdateDispatchViewBase(StatementResultService statementResultServiceImpl, DispatchService dispatchService)
dispatchService
- - for performing the dispatchstatementResultServiceImpl
- - handles result deliveryMethod Detail |
---|
public EventType getEventType()
EventCollection
getEventType
in interface EventCollection
public java.util.Iterator<EventBean> iterator()
EventCollection
iterator
in interface EventCollection
iterator
in interface java.lang.Iterable<EventBean>
public void execute()
Dispatchable
execute
in interface Dispatchable
public void clear()
public StatementResultService getStatementResultService()
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |