|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.view.ViewSupport
net.esper.core.UpdateDispatchView
public class UpdateDispatchView
Convenience view for dispatching view updates received from a parent view to update listeners via the dispatch service.
Field Summary |
---|
Fields inherited from class net.esper.view.ViewSupport |
---|
parent |
Constructor Summary | |
---|---|
UpdateDispatchView(Set<UpdateListener> updateListeners,
DispatchService dispatchService)
Ctor. |
Method Summary | |
---|---|
void |
execute()
Execute dispatch. |
EventType |
getEventType()
Provides metadata information about the type of object the event collection contains. |
Iterator<EventBean> |
iterator()
Allows iteration through all elements in this event collection. |
void |
update(EventBean[] newData,
EventBean[] oldData)
Notify that data has been added or removed from the Viewable parent. |
Methods inherited from class net.esper.view.ViewSupport |
---|
addView, dumpChildViews, dumpUpdateParams, findDescendent, getParent, getViews, hasViews, removeView, setParent, shallowCopyView, updateChildren, updateChildren |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UpdateDispatchView(Set<UpdateListener> updateListeners, DispatchService dispatchService)
updateListeners
- - listeners to updatedispatchService
- - for performing the dispatchMethod Detail |
---|
public void update(EventBean[] newData, EventBean[] oldData)
View
update
in interface 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 EventType getEventType()
EventCollection
getEventType
in interface EventCollection
public Iterator<EventBean> iterator()
EventCollection
iterator
in interface Iterable<EventBean>
iterator
in interface EventCollection
public void execute()
Dispatchable
execute
in interface Dispatchable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |