cool.  that would work.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gunnar R|nning
Sent: Wednesday, August 09, 2000 7:06 AM
To: Turbine
Subject: Re: Refreshable Cache


"Paul O'Leary" <[EMAIL PROTECTED]> writes:

>
> I'll see if I can scare up a/o write some better synchronization
primitives.
>

Why not just the standard pattern for this ? What I usually use is
the pattern in the getCache() method in the code appended.

Regards,

        Gunnar

/**
 * The cache manager class acts as central registry for all
 * object caches and can be used to expire/clean specific caches.
 */
public class CacheManager {
  protected static Hashtable caches = new Hashtable();

 [snip]



------------------------------------------------------------
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