Hi,
I wasn't aware of that. Sounds interesting, too :-)
On the other hand, I am not sure, whether the AdapterFactory itself is
the right place for this kind of thing. Maybe this should be
"outsourced" into some kind of IteratorFactory.
Regarsd
Felix
Jukka Zitting schrieb:
Hi,
On 1/4/06, Felix Meschberger <[EMAIL PROTECTED]> wrote:
Thanks alot. Good thing. Just one question: Could it be, that the
proposal to make ServerAdapterFactory.optimizeIterator protected got lost ?
Ah, sorry. I ended up considering whether it would make sense to make
the default ServerAdapterFactory.optimizeIterator() a no-op, and have
a separate BufferingServerAdapterFactory subclass that would contain
the bufferSize property and override the optimizeIterator() method.
That would be a more orthogonal design, but as long as we don't have
many competing optimization mechanisms, it's probably easier to have
the default mechanism right there in the base class. Committed in
revision 365897.
BR,
Jukka Zitting
--
Yukatan - http://yukatan.fi/ - [EMAIL PROTECTED]
Software craftmanship, JCR consulting, and Java development