#include <pconn.h>

Collaboration diagram for PconnModule:

Public Member Functions

 PconnModule ()
void registerWithCacheManager (void)
void add (PconnPool *)
void remove (PconnPool *)
 unregister and forget about this pool object More...

Static Public Member Functions

static PconnModuleGetInstance ()
static void DumpWrapper (StoreEntry *e)

Public Attributes

OBJH dump

Private Types

typedef std::set< PconnPool * > Pools
 unordered PconnPool collection More...

Private Attributes

Pools pools
 all live pools More...

Static Private Attributes

static PconnModuleinstance = nullptr

Detailed Description

The global registry of persistent connection pools.

Definition at line 168 of file pconn.h.

Member Typedef Documentation

◆ Pools

typedef std::set<PconnPool*> PconnModule::Pools

Definition at line 188 of file pconn.h.

Constructor & Destructor Documentation

◆ PconnModule()

PconnModule::PconnModule ( )

Definition at line 550 of file pconn.cc.

References registerWithCacheManager().

Referenced by GetInstance().

Member Function Documentation

◆ add()

void PconnModule::add ( PconnPool aPool)

Definition at line 573 of file pconn.cc.

References pools.

Referenced by PconnPool::PconnPool().

◆ DumpWrapper()

void PconnModule::DumpWrapper ( StoreEntry e)

A thunk to the still C like CacheManager callback api.

Definition at line 599 of file pconn.cc.

References dump, and GetInstance().

Referenced by registerWithCacheManager().

◆ GetInstance()

PconnModule * PconnModule::GetInstance ( )

the module is a singleton until we have instance based cachemanager management

Definition at line 556 of file pconn.cc.

References PconnModule(), and instance.

Referenced by PconnPool::PconnPool(), PconnPool::~PconnPool(), and DumpWrapper().

◆ registerWithCacheManager()

void PconnModule::registerWithCacheManager ( void  )

Definition at line 565 of file pconn.cc.

References DumpWrapper(), and Mgr::RegisterAction().

Referenced by PconnModule().

◆ remove()

void PconnModule::remove ( PconnPool aPool)

Definition at line 579 of file pconn.cc.

References pools.

Referenced by PconnPool::~PconnPool().

Member Data Documentation

◆ dump

void PconnModule::dump

Definition at line 185 of file pconn.h.

Referenced by DumpWrapper().

◆ instance

PconnModule * PconnModule::instance = nullptr

Definition at line 191 of file pconn.h.

Referenced by GetInstance().

◆ pools

Pools PconnModule::pools

Definition at line 189 of file pconn.h.

Referenced by add(), and remove().

The documentation for this class was generated from the following files:






Web Site Translations