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:[EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
