At 21:52 23.03.2002 +1100, Oliver Burn wrote:

>Yes, but for one limitation. With the current approach it is possible to 
>pause the collection of events and to change the filter
>criteria on the currently
>collected events. With the technique you are proposing, this would not be
>possible. This is because when the filter critera changes, the filtered
>events buffer would need to be repopulated from the other buffer which
>contains new events.

Hi Oliver,

I don't understand this last comment. When the filtering criteria
change (new filters are added, removed etc.), you need to repopulate
the (mFilteredEvents) last buffer from the (mAllEvents) buffer
containing all the events. Right?

Why would it be any different with two buffers? Buffer A accumulates
*all* the events and buffer B contains the events after filtering. If the
filter rules change, then B can be rebuilt from A. Where is the difference?

Wishing you a nice weekend.
--

Ceki

My link of the month: http://java.sun.com/aboutJava/standardization/


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to