Hi Frank,
> Hi,
>
> Can someone explain me what's the difference between the following
> sequencemanagers :
> 1) ojb.broker.util.SequenceManagerHighLowImpl
old deprecated version
> 2) ojb.broker.util.SequenceManagerHiLoImpl
new version
>
> Default SequenceManagerHiLoImpl is enabled in OJB.properties.
> But in the source code is mentioned that this implementation is not
> thread-safe ???
>
> /**
> * HighLowSequence manager. This manger itself is not threadsafe, but
the
> * id generation was {@link SequenceGenerator}.
> *
> * @author <a href="mailto:[EMAIL PROTECTED]">Armin Waibel</a>
> */
This should be no problem, because each PB holds a separate instance
of the SequenceManager and the used SequenceGenerator was threadsafe.
All stress tests passed well.
regards,
Armin
>
>
> Thanks,
>
> Frank Renaers
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>