#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
private

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)
static

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 ( )
static

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
staticprivate

Definition at line 191 of file pconn.h.

Referenced by GetInstance().

◆ pools

Pools PconnModule::pools
private

Definition at line 189 of file pconn.h.

Referenced by add(), and remove().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors