If you are making extensive use of caching I would suggest taking a look a JCS instead the older turbine caching mechanism. I have been using it for about a month and a half now I it works great!
just a suggestion, Scott > -----Original Message----- > From: Craig McDaniel [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 24, 2002 5:23 PM > To: [EMAIL PROTECTED] > Subject: Preferred way to expire a CachedObject? > > > Which is the preferred way to expire a CachedObject? > > 1) myCachedObject.setStale(true); > -- OR -- > 2) TurbineGlobalCache.removeObject("name"); > > Just wondering if there is any significant difference between the two. > > Later, > -- > \ Craig Patrick McDaniel > /_\ Software Engineer > /_/_\ n + 1, Inc. > /_/_/_\ [EMAIL PROTECTED] > /_/_/_/_\ (502) 479-5557 > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> >
