> > I believe the reason that getHandle is static is because they didn't > > want to create the object until it was actually needed. > > So you get the handle, look it up in the cache. If its not in > > the cache, > > then create the object.
The disk cache uses this same technique, seems to be a commonly used design pattern for the caches. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>