Auth::CredentialCacheRr Class Reference
Inheritance diagram for Auth::CredentialCacheRr:
Collaboration diagram for Auth::CredentialCacheRr:

Public Types

typedef void(RegisteredRunner::* Method) ()
 a pointer to one of the above notification methods More...
 

Public Member Functions

 CredentialCacheRr (const char *n, CredentialsCache *const c)
 
 ~CredentialCacheRr () override
 
void endingShutdown () override
 
void syncConfig () override
 
virtual void bootstrapConfig ()
 
virtual void finalizeConfig ()
 
virtual void claimMemoryNeeds ()
 
virtual void useConfig ()
 
virtual void startReconfigure ()
 
virtual void startShutdown ()
 
virtual void finishShutdown ()
 Meant for cleanup of services needed by the already destroyed objects. More...
 

Private Attributes

const char * name
 name of the cache being managed, for logs More...
 
CbcPointer< CredentialsCachewhichCache
 reference to the scheme cache which is being managed More...
 

Detailed Description

Definition at line 21 of file CredentialsCache.cc.

Member Typedef Documentation

◆ Method

typedef void(RegisteredRunner::* RegisteredRunner::Method) ()
inherited

Definition at line 94 of file RunnersRegistry.h.

Constructor & Destructor Documentation

◆ CredentialCacheRr()

Auth::CredentialCacheRr::CredentialCacheRr ( const char *  n,
CredentialsCache *const  c 
)
inlineexplicit

Definition at line 24 of file CredentialsCache.cc.

◆ ~CredentialCacheRr()

Auth::CredentialCacheRr::~CredentialCacheRr ( )
inlineoverride

Definition at line 29 of file CredentialsCache.cc.

References debugs, name, and whichCache.

Member Function Documentation

◆ bootstrapConfig()

virtual void RegisteredRunner::bootstrapConfig ( )
inlinevirtualinherited

Called right before parsing squid.conf. Meant for initializing/preparing configuration parsing facilities.

Reimplemented in NtlmAuthRr.

Definition at line 46 of file RunnersRegistry.h.

Referenced by SquidMain().

◆ claimMemoryNeeds()

virtual void RegisteredRunner::claimMemoryNeeds ( )
inlinevirtualinherited

Called after finalizeConfig(). Meant for announcing memory reservations before memory is allocated.

Reimplemented in IpcIoRr, and MemStoreRr.

Definition at line 55 of file RunnersRegistry.h.

Referenced by RunConfigUsers().

◆ endingShutdown()

void Auth::CredentialCacheRr::endingShutdown ( )
inlineoverridevirtual

Called after shutdown_lifetime grace period ends and before stopping the main loop. At least one main loop iteration is guaranteed after this call. Meant for cleanup and state saving that may require other modules.

Reimplemented from RegisteredRunner.

Definition at line 36 of file CredentialsCache.cc.

References debugs, name, and whichCache.

◆ finalizeConfig()

virtual void RegisteredRunner::finalizeConfig ( )
inlinevirtualinherited

Called after parsing squid.conf. Meant for setting configuration options that depend on other configuration options and were not explicitly configured.

Reimplemented in sslBumpCfgRr, and MemStoreRr.

Definition at line 51 of file RunnersRegistry.h.

Referenced by SquidMain().

◆ finishShutdown()

virtual void RegisteredRunner::finishShutdown ( )
inlinevirtualinherited

Definition at line 91 of file RunnersRegistry.h.

Referenced by RunRegistered(), SquidShutdown(), TestRock::tearDown(), and watch_child().

◆ startReconfigure()

virtual void RegisteredRunner::startReconfigure ( )
inlinevirtualinherited

Called after receiving a reconfigure request and before parsing squid.conf. Meant for modules that need to prepare for their configuration being changed [outside their control]. The changes end with the syncConfig() event.

Reimplemented in Dns::ConfigRr.

Definition at line 67 of file RunnersRegistry.h.

Referenced by mainReconfigureStart().

◆ startShutdown()

virtual void RegisteredRunner::startShutdown ( )
inlinevirtualinherited

Called after receiving a shutdown request and before stopping the main loop. At least one main loop iteration is guaranteed after this call. Meant for cleanup and state saving that may require other modules.

Reimplemented in ConnStateData, and Rock::Rebuild.

Definition at line 78 of file RunnersRegistry.h.

Referenced by SignalEngine::doShutdown().

◆ syncConfig()

void Auth::CredentialCacheRr::syncConfig ( )
inlineoverridevirtual

Called after parsing squid.conf during reconfiguration. Meant for adjusting the module state based on configuration changes.

Reimplemented from RegisteredRunner.

Definition at line 41 of file CredentialsCache.cc.

References debugs, name, and whichCache.

◆ useConfig()

virtual void RegisteredRunner::useConfig ( )
inlinevirtualinherited

Called after claimMemoryNeeds(). Meant for activating modules and features using a finalized configuration with known memory requirements.

Reimplemented in ClientDbRr, SharedMemPagesRr, Ipc::Mem::RegisteredRunner, MemStoreRr, PeerPoolMgrsRr, SharedSessionCacheRr, and TransientsRr.

Definition at line 60 of file RunnersRegistry.h.

Referenced by RunConfigUsers().

Member Data Documentation

◆ name

const char* Auth::CredentialCacheRr::name
private

Definition at line 48 of file CredentialsCache.cc.

Referenced by ~CredentialCacheRr(), endingShutdown(), and syncConfig().

◆ whichCache

CbcPointer<CredentialsCache> Auth::CredentialCacheRr::whichCache
private

Definition at line 51 of file CredentialsCache.cc.

Referenced by ~CredentialCacheRr(), endingShutdown(), and syncConfig().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors