#include <XrdXrootdJob.hh>


Public Member Functions | |
| int | Cancel (const char *jkey=0, XrdXrootdResponse *resp=0) |
| void | DoIt () |
| XrdOucTList * | List (void) |
| int | Schedule (const char *jkey, const char **args, XrdXrootdResponse *resp, int Opts=0) |
| XrdXrootdJob (XrdScheduler *schp, XrdOucProg *pgm, const char *jname, int maxjobs=4) | |
| ~XrdXrootdJob () | |
Private Member Functions | |
| void | CleanUp (XrdXrootdJob2Do *jp) |
| int | sendResult (XrdXrootdResponse *resp, const char *rpfx, XrdXrootdJob2Do *job) |
Private Attributes | |
| XrdSysMutex | myMutex |
| XrdScheduler * | Sched |
| XrdOucTable< XrdXrootdJob2Do > | JobTable |
| XrdOucProg * | theProg |
| char * | JobName |
| int | maxJobs |
| int | numJobs |
Static Private Attributes | |
| static const int | reScan = 15*60 |
Friends | |
| class | XrdXrootdJob2Do |
| XrdXrootdJob::XrdXrootdJob | ( | XrdScheduler * | schp, | |
| XrdOucProg * | pgm, | |||
| const char * | jname, | |||
| int | maxjobs = 4 | |||
| ) |
| XrdXrootdJob::~XrdXrootdJob | ( | ) |
| int XrdXrootdJob::Cancel | ( | const char * | jkey = 0, |
|
| XrdXrootdResponse * | resp = 0 | |||
| ) |
| void XrdXrootdJob::CleanUp | ( | XrdXrootdJob2Do * | jp | ) | [private] |
| void XrdXrootdJob::DoIt | ( | ) | [virtual] |
Implements XrdJob.
| XrdOucTList* XrdXrootdJob::List | ( | void | ) |
| int XrdXrootdJob::Schedule | ( | const char * | jkey, | |
| const char ** | args, | |||
| XrdXrootdResponse * | resp, | |||
| int | Opts = 0 | |||
| ) |
| int XrdXrootdJob::sendResult | ( | XrdXrootdResponse * | resp, | |
| const char * | rpfx, | |||
| XrdXrootdJob2Do * | job | |||
| ) | [private] |
friend class XrdXrootdJob2Do [friend] |
char* XrdXrootdJob::JobName [private] |
XrdOucTable<XrdXrootdJob2Do> XrdXrootdJob::JobTable [private] |
int XrdXrootdJob::maxJobs [private] |
XrdSysMutex XrdXrootdJob::myMutex [private] |
int XrdXrootdJob::numJobs [private] |
const int XrdXrootdJob::reScan = 15*60 [static, private] |
XrdScheduler* XrdXrootdJob::Sched [private] |
XrdOucProg* XrdXrootdJob::theProg [private] |
1.6.1