public class UpdateDispatchViewBlockingSpin extends UpdateDispatchViewBase
EMPTY_VIEW_ARRAY
Constructor and Description |
---|
UpdateDispatchViewBlockingSpin(StatementResultService statementResultService,
DispatchService dispatchService,
long msecTimeout,
TimeSourceService timeSourceService)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
newResult(UniformPair<EventBean[]> result)
Convenience method that accepts a pair of new and old data
as this is the most treated unit.
|
void |
update(EventBean[] newData,
EventBean[] oldData)
Notify that data has been added or removed from the Viewable parent.
|
clear, execute, getEventType, getStatementResultService, iterator
addView, addView, dumpChildViews, dumpUpdateParams, dumpUpdateParams, findDescendent, findViewIndex, getParent, getViews, hasViews, removeAllViews, removeView, removeView, setParent, updateChildren
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addView, getViews, hasViews, removeAllViews, removeView
public UpdateDispatchViewBlockingSpin(StatementResultService statementResultService, DispatchService dispatchService, long msecTimeout, TimeSourceService timeSourceService)
dispatchService
- - for performing the dispatchmsecTimeout
- - timeout for preserving dispatch order through blockingstatementResultService
- - handles result deliverytimeSourceService
- time source providerpublic void update(EventBean[] newData, EventBean[] oldData)
View
newData
- is the new data that has been added to the parent viewoldData
- is the old data that has been removed from the parent viewpublic void newResult(UniformPair<EventBean[]> result)
UpdateDispatchView
result
- is new data (insert stream) and old data (remove stream)