> There's something wonderfully absurd about JCS being moved out of stratum > yet giving the stratum URL. I assume this was a typo and you meant to > give th URL as http://jakarta.apache.org/turbine/jcs/.
Yes. > Unfortunately the new page/site is missing the build directions from the > old site. Though the old site's build directions are slightly incorrect > as there's no update-jars target, which is done by the default target > anyway. > You definitely want to get the Stratum guys to clean up their site a bit. Stratum is going to be axed RSN. > > You can use the define methods to create new regions, providing both a > > default element attributes and a cache attributes at runtime. > > > > Configuring the auxilliaries is a little tricker. I have a bit of a > > cheap hack in there: you can do > > 'CompositeCacheManager.getUnconfiguredInstance' and then call > > 'instace.configure' passing it a Properties object. > > Not only was I working from an old site but the Javadoc on the "new" site > is quite different. Yup. The code is being changed everyday and the site is not updated as frequently. > I assume once the CompositeCacheManager is "configured" then it's just a > matter of calling the various "gatCache(...)" methods to retrieve the > actual cache instances? Once getCache(...) is called the return should > be casted down to GroupCache and then utilized normally (put/get/etc.)? No, not exactly. I believe CompositeCacheManager is used by CacheAccess and GroupCacheManager by GroupCacheAccess, so you will have to adjust accordingly (like I said, this is a bit hacky -- a better solution is in progress). I still feel that long term group support should be rolled into the primary cache and there should be only one. > The only type of cache CompositeCacheManager can return is a > GroupCache as CompositeCache has no other descendents. > Am I on the right path here? JCS looks like wonderful technology which > I'd dearly love to use. It definitely has strengths =] Still working on the weaknesses. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
