XrdCl::SIDMgrPool Class Reference

Pool of SID manager objects. More...

#include <XrdClSIDManager.hh>

Collaboration diagram for XrdCl::SIDMgrPool:
Collaboration graph
[legend]

List of all members.

Classes

struct  RecycleSidMgr
 A functional object for handling the deletion of SIDManager objects. More...

Public Member Functions

 ~SIDMgrPool ()
 Destructor.
std::shared_ptr< SIDManagerGetSIDMgr (const URL &url)
void Recycle (SIDManager *mgr)

Static Public Member Functions

static SIDMgrPoolInstance ()

Private Member Functions

 SIDMgrPool ()
 Constructor.
 SIDMgrPool (const SIDMgrPool &)
 Deleted constructors.
 SIDMgrPool (SIDMgrPool &&)
SIDMgrPooloperator= (const SIDMgrPool &)
 Deleted assigment operators.
SIDMgrPooloperator= (SIDMgrPool &&)

Private Attributes

XrdSysMutex mtx
std::unordered_map
< std::string, SIDManager * > 
pool

Detailed Description

Pool of SID manager objects.


Constructor & Destructor Documentation

XrdCl::SIDMgrPool::~SIDMgrPool (  )  [inline]

Destructor.

XrdCl::SIDMgrPool::SIDMgrPool (  )  [inline, private]

Constructor.

Referenced by Instance().

XrdCl::SIDMgrPool::SIDMgrPool ( const SIDMgrPool  )  [private]

Deleted constructors.

XrdCl::SIDMgrPool::SIDMgrPool ( SIDMgrPool &&   )  [private]

Member Function Documentation

std::shared_ptr<SIDManager> XrdCl::SIDMgrPool::GetSIDMgr ( const URL url  ) 
Parameters:
url : URL for which we need a SIDManager
Returns:
: a shared pointer to SIDManager object, the pointer has
static SIDMgrPool& XrdCl::SIDMgrPool::Instance (  )  [inline, static]
Returns:
: instance of SIDMgrPool

References SIDMgrPool().

Referenced by XrdCl::SIDMgrPool::RecycleSidMgr::operator()().

SIDMgrPool& XrdCl::SIDMgrPool::operator= ( SIDMgrPool &&   )  [private]
SIDMgrPool& XrdCl::SIDMgrPool::operator= ( const SIDMgrPool  )  [private]

Deleted assigment operators.

void XrdCl::SIDMgrPool::Recycle ( SIDManager mgr  ) 
Parameters:
mgr : the SIDManager object to be recycled

Referenced by XrdCl::SIDMgrPool::RecycleSidMgr::operator()().


Member Data Documentation

std::unordered_map<std::string, SIDManager*> XrdCl::SIDMgrPool::pool [private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 11 Jun 2020 for xrootd by  doxygen 1.6.1