public class UpdateDispatchViewNonBlocking extends UpdateDispatchViewBase
EMPTY_VIEW_ARRAY
Constructor and Description |
---|
UpdateDispatchViewNonBlocking(StatementResultService statementResultServiceImpl,
DispatchService dispatchService)
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 UpdateDispatchViewNonBlocking(StatementResultService statementResultServiceImpl, DispatchService dispatchService)
dispatchService
- - for performing the dispatchstatementResultServiceImpl
- - 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)