public:
static void Init();
static void Report();
- static void RegisterWithCacheManager(void);
static void Stats(StoreEntry *);
static void CleanIdlePools(void *unused);
static void Report(std::ostream &);
static void PoolReport(const MemPoolStats * mp_st, const MemPoolMeter * AllMeter, std::ostream &);
+
+protected:
+ static void RegisterWithCacheManager(void);
};
#endif /* SQUID_MEM */
#endif
eventInit();
- externalAclRegisterWithCacheManager();
- fqdncacheRegisterWithCacheManager();
+ // externalAclRegisterWithCacheManager(); //moved to externalAclInit()
+ // fqdncacheRegisterWithCacheManager(); //moved to fqdncache_init()
FwdState::RegisterWithCacheManager();
- httpHeaderRegisterWithCacheManager();
+ // httpHeaderRegisterWithCacheManager(); //moved to httpHeaderInitModule
#if !USE_DNSSERVERS
//TODO: remove cache manager registration functions from namespace
// (protos.h and make them static where appropriate)
#endif
// ipcacheRegisterWithCacheManager(); //moved to ipcache_init()
- Mem::RegisterWithCacheManager();
+ // Mem::RegisterWithCacheManager(); //moved to Mem::Init()
// netdbRegisterWitHCacheManager(); //moved to netdbInit()
PconnModule::GetInstance()->registerWithCacheManager();
// redirectRegisterWithCacheManager(); //moved to redirectInit()
if (StrPools[i].pool->objectSize() != StrPoolsAttrs[i].obj_size)
debugs(13, 1, "Notice: " << StrPoolsAttrs[i].name << " is " << StrPools[i].pool->objectSize() << " bytes instead of requested " << StrPoolsAttrs[i].obj_size << " bytes");
}
+
+ RegisterWithCacheManager();
}
void