Getting Size of Agent Cache - Fixed

I just committed some changes to the CacheBox SVN repository and pushed up a new 0.9.9 version. I realized suddenly that getting the occupancy of a specific agent isn't something I do very much of... but it was part of the CacheBoxAgent.cfc for people who might be interested in getting that metadata in their own apps.

It turns out because it's not something I do very often, that part of the CacheBox framework hadn't been well tested and the agent was attempting to call a method (getAgentSize) that didn't exist in the CacheBoxService.cfc. That lead me down the road of looking at a couple other methods and realizing that CacheBoxStorage.getHeadCount() wasn't being used anywhere and actually was redundant with CacheBoxStorage.getOccupancy() but the getOccupancy() method was missing an argument. D'oh!

Anyway I fixed all this stuff, rolled the version forward to 0.9.9 and unfortunately had to also roll the agent version forward to 1.4. I updated DataFaucet and the onTap framework with the new agent in their SVN repositories, but since those don't actually use the affected feature, I haven't published new archives for them yet.

Railo Support

Hi all, I just wanted to bring everyone's attention to a new bug logged in our issue tracker by Bill Berzinskas. You can read the bug detail in our bug-tracker here:

I wanted to bring this up because I fully believe that the best software projects are those that have the active involvement of a committed (if small) team and I'd like for CacheBox to be one of those projects. I don't currently have a copy of Railo installed and I'm not sure when I'll have time to install one for testing. I would however love to include a patch from someone who works with Railo on a more regular basis. :) And I hope that you all are comfortable contributing to the bug tracker and contacting me with questions so that we can make this the best darn caching project we can make it!


BlogCFC was created by Raymond Camden. This blog is running version 5.5.006. | Protected by Akismet | Blog with WordPress