jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raffaele Sena <raff...@gmail.com>
Subject Re: Threading-JCR
Date Fri, 15 Apr 2011 17:58:09 GMT
what error do you get exactly ?

couple of alternatives:
- synchronize on something related to your folder (slows down your thread)
- add a worker thread to do the writes and queue your requests

-- Raffaele

On Fri, Apr 15, 2011 at 9:37 AM, PeriS <peris@kuali.org> wrote:

> Scenerio: Need for persisting multiple files under a single node (Folder)
>
> Structure:
>
> Root
>    - Folder
>        - File1
>        - File 2
>
> When trying to have multiple threads insert files under the same node,
> complains about locking. What are the alternatives?
>
> Thanks
> -PeriS
>

Mime
View raw message