on 8/8/2000 1:58 PM, "Nissim" <[EMAIL PROTECTED]> wrote:

> I just commited the first set of revisions for the refreshable cache.
> You use it the same way you use the existing cache except instead of
> using CachedObject, you use RefreshableCachedObject, and then you must
> pass it an Object which implements Refreshable (just needs a public void
> refresh()).
> 
> When we were discussing this in the list, there were some more features
> that people are asking for.  I also have another addition I want to
> discuss:
> 
> 1) Add a read/write lock object for accessing the items in the cache.
> This will prevent multiple threads from creating the same cached object
> at the same time.

You can probably use the Mutex code here:

http://www.working-dogs.com/cvsweb/index.cgi/jserv_whiteboard/src/java/org/a
pache/java/lang/Mutex.java?rev=1.3&content-type=text/x-cvsweb-markup

-jon



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to