|
XRootD
|
A synchronized queue. More...
#include <XrdClJobManager.hh>
Collaboration diagram for XrdCl::JobManager:Public Member Functions | |
| JobManager (uint32_t workers) | |
| Constructor. | |
| ~JobManager () | |
| Destructor. | |
| bool | Finalize () |
| Finalize the job manager, clear the queues. | |
| bool | Initialize () |
| Initialize the job manager. | |
| bool | IsWorker () |
| void | QueueJob (Job *job, void *arg=0) |
| Add a job to be run. | |
| void | RunJobs () |
| Run the jobs. | |
| bool | Start () |
| Start the workers. | |
| bool | Stop () |
| Stop the workers. | |
A synchronized queue.
Definition at line 50 of file XrdClJobManager.hh.
|
inline |
Constructor.
Definition at line 56 of file XrdClJobManager.hh.
|
inline |
| bool XrdCl::JobManager::Finalize | ( | ) |
Finalize the job manager, clear the queues.
Definition at line 52 of file XrdClJobManager.cc.
Referenced by XrdCl::CopyProcess::Run().
Here is the caller graph for this function:| bool XrdCl::JobManager::Initialize | ( | ) |
Initialize the job manager.
Definition at line 44 of file XrdClJobManager.cc.
Referenced by XrdCl::CopyProcess::Run().
Here is the caller graph for this function:
|
inline |
Definition at line 102 of file XrdClJobManager.hh.
|
inline |
Add a job to be run.
Definition at line 92 of file XrdClJobManager.hh.
Referenced by XrdCl::FileStateHandler::Close(), XrdCl::LocalFileHandler::QueueTask(), XrdCl::CopyProcess::Run(), XrdCl::Operation< HasHndl >::Run(), XrdEc::ScheduleHandler(), XrdEc::ScheduleHandler(), and XrdCl::FileStateHandler::TimeOutRequests().
Here is the caller graph for this function:| void XrdCl::JobManager::RunJobs | ( | ) |
Run the jobs.
Definition at line 146 of file XrdClJobManager.cc.
References XrdCl::Job::Run().
Referenced by RunRunnerThread().
Here is the call graph for this function:
Here is the caller graph for this function:| bool XrdCl::JobManager::Start | ( | ) |
Start the workers.
Definition at line 61 of file XrdClJobManager.cc.
References XrdCl::Log::Debug(), XrdCl::Log::Error(), XrdCl::DefaultEnv::GetLog(), XrdCl::JobMgrMsg, RunRunnerThread(), and XrdSysE2T().
Referenced by XrdCl::CopyProcess::Run().
Here is the call graph for this function:
Here is the caller graph for this function:| bool XrdCl::JobManager::Stop | ( | ) |
Stop the workers.
Definition at line 93 of file XrdClJobManager.cc.
References XrdCl::Log::Debug(), XrdCl::Log::Error(), XrdCl::DefaultEnv::GetLog(), and XrdCl::JobMgrMsg.
Referenced by XrdCl::CopyProcess::Run().
Here is the call graph for this function:
Here is the caller graph for this function: