public class UpdateDispatchViewBlockingWait extends UpdateDispatchViewBase
EMPTY_VIEW_ARRAY
Constructor and Description |
---|
UpdateDispatchViewBlockingWait(StatementResultService statementResultServiceImpl,
DispatchService dispatchService,
long msecTimeout)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
newResult(UniformPair<EventBean[]> results)
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 UpdateDispatchViewBlockingWait(StatementResultService statementResultServiceImpl, DispatchService dispatchService, long msecTimeout)
dispatchService
- - for performing the dispatchmsecTimeout
- - timeout for preserving dispatch order through blockingstatementResultServiceImpl
- - handles result deliverypublic 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[]> results)
UpdateDispatchView
results
- is new data (insert stream) and old data (remove stream)