logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject RE: An alternative JTable
Date Sat, 23 Mar 2002 13:37:35 GMT


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:log4j-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-dev-help@jakarta.apache.org>


Mime
View raw message