jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Smuts <aasm...@wisc.edu>
Subject RE: general question on JCS
Date Sat, 11 Oct 2003 16:36:05 GMT
Ya.  You shouldn't need to do any synchronization around JCS calls in
most conceivable cases.  

Remember that the cache passes objects by reference.  If you change an
object you get from the cache, the object in the cache is changed.   

Aaron  

> -----Original Message-----
> From: Craig Johannsen [mailto:craig@ludicorp.com]
> Sent: Friday, October 10, 2003 11:00 PM
> To: Turbine JCS Users List
> Subject: Re: general question on JCS
> 
> We don't do our own synchronization around JCS calls.  We trust JCS to
> do it at the appropriate times, which is probably more efficient.
That
> is, JCS can lock specific parts of itself just at the moment they are
> being accessed and then unlock it to do things that don't require
> synchronization.
> 
> Sjoquist, Carl wrote:
> 
> >Thanks Craig.  Have you noticed how JCS deals with threading?  Is
thread
> >synchronization implemented in JCS or do you do your own
synchronization?
> >
> >
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
turbine-jcs-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
turbine-jcs-user-help@jakarta.apache.org


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


Mime
View raw message