jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Meschberger <Felix.Meschber...@day.com>
Subject Re: JCR-RMI Iterator support
Date Wed, 04 Jan 2006 12:38:55 GMT
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 <Felix.Meschberger@day.com> 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/ - info@yukatan.fi
> Software craftmanship, JCR consulting, and Java development
>   


Mime
View raw message