I'm trying the readwrite lock manager.

Some problems

> -----Original Message-----
> From: James Taylor [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 14, 2002 3:46 PM
> To: Turbine JCS Developers List
> Subject: Re: disk cache locking -- sneaking out of purgatory
> 
> > Sounds good.  The put will stop.
> 
> I ended up going from the other direction, with similar effect.
> 
> 
> > That queue is generic.  You can keep the locking in the disk cache.  You
> > should be able to use the read write lock manager and lock on the region
> and
> > key name or something in the doUpdate and doRemove methods. This would
> > assure that the spoolable flag can be change in time.
> 
> Good call! The manager might even be overkill. Each instance of
> AbstractDiskCache could just hold a ReadWriteLock. I'll give that a try.
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:turbine-jcs-dev-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:turbine-jcs-dev-
> [EMAIL PROTECTED]>

Reply via email to