turbine-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig McDaniel <cra...@nplus1.net>
Subject Preferred way to expire a CachedObject?
Date Wed, 24 Apr 2002 21:22:32 GMT
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.
/_/_/_\ craigm@nplus1.net
/_/_/_/_\ (502) 479-5557

--
To unsubscribe, e-mail:   <mailto:turbine-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-user-help@jakarta.apache.org>


Mime
View raw message