jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Smuts <asm...@yahoo.com>
Subject Re: Do I need to synchronize access to a JCS cache?
Date Tue, 12 Jan 2010 02:46:19 GMT
That's correct.  JCS is thread safe.  

Aaron

--- On Fri, 1/8/10, techie09 <techiekalyan@gmail.com> wrote:

> From: techie09 <techiekalyan@gmail.com>
> Subject: Re: Do I need to synchronize access to a JCS cache?
> To: jcs-users@jakarta.apache.org
> Date: Friday, January 8, 2010, 2:15 PM
> 
> as far as i know, JCS takes care of this. You need not
> specifically sync the
> calls.
> 
> -thanks,
> kalyan
> 
> 
> 
> jordiang wrote:
> > 
> > I am using JCS with a in-memory cache using LRU
> policy.
> > 
> > Do I need to synchronize my calls to get() and put()
> operations or is JCS
> > taking care of the multithreaded access?
> > 
> > -Jorge
> > 
> > 
> > 
> 
> -- 
> View this message in context: http://old.nabble.com/Do-I-need-to-synchronize-access-to-a-JCS-cache--tp27082018p27083142.html
> Sent from the JCS - Users mailing list archive at
> Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jcs-users-help@jakarta.apache.org
> 
> 

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


Mime
View raw message