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

Reply via email to