directory-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <>
Subject Re: LdapConnection threadsafe?
Date Mon, 11 Apr 2011 06:39:33 GMT
On 4/11/11 8:26 AM, Luis Pérez wrote:
> Hi,
> Is the LdapConnection object threadsafe?
It's supposed to be. You should be able to send a SearchRequest and an 
AbandonRequest through the same connection, and see your searchRequest 
abandonned (if it's a long one, of course.

> Can I perform two concurrent
> searches on the same LdapConnection?
Yes. But I must admit we never tested this case. We will add some test, 
that's a very valid question. I'll be back to you later today when I 
have tested this point.

Emmanuel Lécharny

View raw message