|
Squid Web Cache master
|
#include <pconn.h>
Public Member Functions | |
| PconnModule () | |
| void | registerWithCacheManager (void) |
| void | add (PconnPool *) |
| void | remove (PconnPool *) |
| unregister and forget about this pool object | |
| void | dump (std::ostream &yaml) |
Static Public Member Functions | |
| static PconnModule * | GetInstance () |
| static void | DumpWrapper (StoreEntry *e) |
Private Types | |
| typedef std::set< PconnPool * > | Pools |
| unordered PconnPool collection | |
Private Attributes | |
| Pools | pools |
| all live pools | |
Static Private Attributes | |
| static PconnModule * | instance = nullptr |
|
private |
| PconnModule::PconnModule | ( | ) |
Definition at line 573 of file pconn.cc.
References registerWithCacheManager().
Referenced by GetInstance().
| void PconnModule::add | ( | PconnPool * | aPool | ) |
| void PconnModule::dump | ( | std::ostream & | yaml | ) |
|
static |
A thunk to the still C like CacheManager callback api.
Definition at line 616 of file pconn.cc.
References dump(), and GetInstance().
Referenced by registerWithCacheManager().
|
static |
the module is a singleton until we have instance based cachemanager management
Definition at line 579 of file pconn.cc.
References PconnModule(), and instance.
Referenced by PconnPool::PconnPool(), PconnPool::~PconnPool(), and DumpWrapper().
| void PconnModule::registerWithCacheManager | ( | void | ) |
Definition at line 588 of file pconn.cc.
References DumpWrapper(), Mgr::no, Mgr::RegisterAction(), Mgr::yaml, and Mgr::yes.
Referenced by PconnModule().
| void PconnModule::remove | ( | PconnPool * | aPool | ) |
|
staticprivate |
Definition at line 195 of file pconn.h.
Referenced by GetInstance().
|
private |