[prev in list] [next in list] [prev in thread] [next in thread] 

List:       james-dev
Subject:    RE: Synchronised??
From:       "Scherer Pierre" <scherer_pierre () ibelgique ! com>
Date:       2003-03-25 20:24:04
[Download RAW message or body]


It's a problem for me(crash database). If I put my class sychronised, does
it resolve the problem (or can not do that for a lower layer
implementation)?


Yes it's possible for multiple threads to call your service
concurrently.

Steve

> -----Original Message-----
> From: Scherer Pierre [mailto:scherer_pierre@ibelgique.com]
> Sent: Tuesday, March 25, 2003 10:03 AM
> To: James-dev
> Subject: Synchronised??
>
>
>
> Hi,
>
> I have a question about the synchronisation of service.
> In fact, I log in Database when a mailet call the service
> tracking!! But is it possible that more threads (several mail
> on the server ) call this service? Or avalon gives the
> garanty that, if a call is doing by a thread, it locks this service.
>
> Thanks,
>
> -Pierre
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-dev-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org

_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France


---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic