xrootd
|
#include <XrdClForkHandler.hh>
Public Member Functions | |
ForkHandler () | |
void | RegisterFileObject (FileStateHandler *file) |
Register a file object. More... | |
void | UnRegisterFileObject (FileStateHandler *file) |
void | RegisterFileSystemObject (FileSystem *fs) |
void | UnRegisterFileSystemObject (FileSystem *fs) |
Un-register a file system object. More... | |
void | RegisterPostMaster (PostMaster *postMaster) |
Register a post master object. More... | |
void | RegisterFileTimer (FileTimer *fileTimer) |
void | Prepare () |
Handle the preparation part of the forking process. More... | |
void | Parent () |
Handle the parent post-fork. More... | |
void | Child () |
Handler the child post-fork. More... | |
Private Attributes | |
std::set< FileStateHandler * > | pFileObjects |
std::set< FileSystem * > | pFileSystemObjects |
PostMaster * | pPostMaster |
FileTimer * | pFileTimer |
XrdSysMutex | pMutex |
XrdCl::ForkHandler::ForkHandler | ( | ) |
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.
|
inline |
Register a file object.
References pFileObjects, and pMutex.
|
inline |
References pFileSystemObjects, and pMutex.
|
inline |
References pFileTimer, and pMutex.
|
inline |
Register a post master object.
References pMutex, and pPostMaster.
|
inline |
References pFileObjects, and pMutex.
|
inline |
Un-register a file system object.
References pFileSystemObjects, and pMutex.
|
private |
Referenced by RegisterFileObject(), and UnRegisterFileObject().
|
private |
Referenced by RegisterFileSystemObject(), and UnRegisterFileSystemObject().
|
private |
Referenced by RegisterFileTimer().
|
private |
|
private |
Referenced by RegisterPostMaster().