jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: Is an ObservationManager safe to use across threads?
Date Fri, 15 Oct 2010 10:18:44 GMT
On Fri, Oct 15, 2010 at 11:46, Vidar Ramdal <vidar@idium.no> wrote:
> Is this safe, or is the ObservationManager retrieved by
> session.getWorkspace().getObservationManager() tied to the session
> from which it was acquired?

Yes, it is session-specific (getWorkspace() is also a session-specific
instance). So there is no guarantee that it works in multiple threads.


Alexander Klimetschek

View raw message