jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Müller <thomas.muel...@day.com>
Subject Re: [jr3] Synchronized sessions
Date Wed, 24 Feb 2010 20:19:20 GMT
Hi,

> deadlocks

I think it's relatively simple to synchronize all methods on the session.

> If we want to make sessions thread-safe, we should use proper
> implementations.

Yes, that's what I want to write: a proper implementation.

> any concurrent use of the same session is unsupported.

The disadvantage of this is that there is no way to enforce correct
usage. In some cases, incorrect usage leads to data corruption. I
believe data corrupt is not acceptable, even if the user made a
mistake.

Regards,
Thomas

Mime
View raw message