Re: Announcing branch: cachemgr-refactoring

From: Kinkie <gkinkie_at_gmail.com>
Date: Fri, 4 Jul 2008 16:02:39 +0200

On Fri, Jul 4, 2008 at 3:54 PM, Henrik Nordstrom
<henrik_at_henriknordstrom.net> wrote:
> On fre, 2008-07-04 at 19:34 +0800, Adrian Chadd wrote:
>> 2008/7/4 Kinkie <gkinkie_at_gmail.com>:
>>
>> >> access for all of the SNMP exported data. Then all of the existing
>> >> cachemgr information could be represented in this fashion and your
>> >> HTTP frontends can use that.
>> >
>> > Agreed. This is however probably for the 3.3 or 3.4 timeframe, unless
>> > someone else steps in and lends a hand.
>>
>> What I'm suggesting is that cachemgr can just be left as-is and work
>> can be done on something new and better.
>
> Same here.

If you check the branch, you'll notice that it only refactors the
scaffolding, not the report themselves.
Main changes:
- CacheManager becomes a singleton
- abstracts the method for registering objects and provides a second
interface by registering callback objects rather than callback
functions
- provides better internal layering and organization

Aim of the branch is to finish cleaning up the internal namespace -
only entry point should be CacheManager::GetInstance() and its
methods.
cache_manager.cc should end up being pure c++-style with one legacy
interface, namely registerAction(OBJH *).

I agree with you that changing the contents of the pages is NOT within
the scope of this branch, and I won't be doing that.
At the same time, I'd like to finish what I started.

-- 
 /kinkie
Received on Fri Jul 04 2008 - 14:02:44 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 04 2008 - 12:00:03 MDT