|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Viewable
The Viewable interface marks an object as supporting zero, one or more View instances. All implementing classes must call each view's 'update' method when new data enters it. Implementations must take care to synchronize methods of this interface with other methods such that data flow is threadsafe.
Method Summary | |
---|---|
View |
addView(View view)
Add a view to the viewable object. |
View[] |
getViews()
Returns all added views. |
boolean |
hasViews()
Test is there are any views to the Viewable. |
void |
removeAllViews()
Remove all views. |
boolean |
removeView(View view)
Remove a view. |
Methods inherited from interface com.espertech.esper.view.EventCollection |
---|
getEventType, iterator |
Method Detail |
---|
View addView(View view)
view
- to add
View[] getViews()
boolean removeView(View view)
view
- to remove
void removeAllViews()
boolean hasViews()
|
© 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 |