XrdCl::ForkHandler Class Reference

#include <XrdClForkHandler.hh>

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

List of all members.

Public Member Functions

 ForkHandler ()
void RegisterFileObject (FileStateHandler *file)
 Register a file object.
void UnRegisterFileObject (FileStateHandler *file)
void RegisterFileSystemObject (FileSystem *fs)
void UnRegisterFileSystemObject (FileSystem *fs)
 Un-register a file system object.
void RegisterPostMaster (PostMaster *postMaster)
 Register a post master object.
void RegisterFileTimer (FileTimer *fileTimer)
void Prepare ()
 Handle the preparation part of the forking process.
void Parent ()
 Handle the parent post-fork.
void Child ()
 Handler the child post-fork.

Private Attributes

std::set< FileStateHandler * > pFileObjects
std::set< FileSystem * > pFileSystemObjects
PostMasterpPostMaster
FileTimerpFileTimer
XrdSysMutex pMutex

Constructor & Destructor Documentation

XrdCl::ForkHandler::ForkHandler (  ) 

Member Function Documentation

void XrdCl::ForkHandler::Child (  ) 

Handler the child post-fork.

void XrdCl::ForkHandler::Parent (  ) 

Handle the parent post-fork.

void XrdCl::ForkHandler::Prepare (  ) 

Handle the preparation part of the forking process.

void XrdCl::ForkHandler::RegisterFileObject ( FileStateHandler file  )  [inline]

Register a file object.

References pFileObjects, and pMutex.

void XrdCl::ForkHandler::RegisterFileSystemObject ( FileSystem fs  )  [inline]

References pFileSystemObjects, and pMutex.

void XrdCl::ForkHandler::RegisterFileTimer ( FileTimer fileTimer  )  [inline]

References pFileTimer, and pMutex.

void XrdCl::ForkHandler::RegisterPostMaster ( PostMaster postMaster  )  [inline]

Register a post master object.

References pMutex, and pPostMaster.

void XrdCl::ForkHandler::UnRegisterFileObject ( FileStateHandler file  )  [inline]

References pFileObjects, and pMutex.

void XrdCl::ForkHandler::UnRegisterFileSystemObject ( FileSystem fs  )  [inline]

Un-register a file system object.

References pFileSystemObjects, and pMutex.


Member Data Documentation

Referenced by RegisterFileTimer().

Referenced by RegisterPostMaster().


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

Generated on 3 Sep 2020 for xrootd by  doxygen 1.6.1