#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 = NULL
 

Detailed Description

The global registry of persistent connection pools.

Definition at line 167 of file pconn.h.

Member Typedef Documentation

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

Definition at line 187 of file pconn.h.

Constructor & Destructor Documentation

PconnModule::PconnModule ( )

Definition at line 521 of file pconn.cc.

References registerWithCacheManager().

Referenced by GetInstance().

Member Function Documentation

void PconnModule::add ( PconnPool aPool)

Definition at line 544 of file pconn.cc.

References pools.

Referenced by PconnPool::PconnPool().

void PconnModule::DumpWrapper ( StoreEntry e)
static

A thunk to the still C like CacheManager callback api.

Definition at line 570 of file pconn.cc.

References dump, and GetInstance().

Referenced by registerWithCacheManager().

PconnModule * PconnModule::GetInstance ( )
static

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

Definition at line 527 of file pconn.cc.

References instance, NULL, and PconnModule().

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

void PconnModule::registerWithCacheManager ( void  )

Definition at line 536 of file pconn.cc.

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

Referenced by PconnModule().

void PconnModule::remove ( PconnPool aPool)

Definition at line 550 of file pconn.cc.

References pools.

Referenced by PconnPool::~PconnPool().

Member Data Documentation

void PconnModule::dump

Definition at line 184 of file pconn.h.

Referenced by DumpWrapper().

PconnModule * PconnModule::instance = NULL
staticprivate

Definition at line 190 of file pconn.h.

Referenced by GetInstance().

Pools PconnModule::pools
private

Definition at line 188 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