xrootd
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | Friends

XrdXrootdJob Class Reference

#include <XrdXrootdJob.hh>

Inheritance diagram for XrdXrootdJob:
Inheritance graph
[legend]
Collaboration diagram for XrdXrootdJob:
Collaboration graph
[legend]

List of all members.

Public Member Functions

int Cancel (const char *jkey=0, XrdXrootdResponse *resp=0)
void DoIt ()
XrdOucTListList (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
XrdSchedulerSched
XrdOucTable< XrdXrootdJob2DoJobTable
XrdOucProgtheProg
char * JobName
int maxJobs
int numJobs

Static Private Attributes

static const int reScan = 15*60

Friends

class XrdXrootdJob2Do

Constructor & Destructor Documentation

XrdXrootdJob::XrdXrootdJob ( XrdScheduler schp,
XrdOucProg pgm,
const char *  jname,
int  maxjobs = 4 
)
XrdXrootdJob::~XrdXrootdJob ( )

Member Function Documentation

int XrdXrootdJob::Cancel ( const char *  jkey = 0,
XrdXrootdResponse resp = 0 
)
void XrdXrootdJob::CleanUp ( XrdXrootdJob2Do jp) [private]
void XrdXrootdJob::DoIt ( ) [virtual]
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]

Friends And Related Function Documentation

friend class XrdXrootdJob2Do [friend]

Referenced by Schedule().


Member Data Documentation

char* XrdXrootdJob::JobName [private]

Referenced by List(), XrdXrootdJob(), and ~XrdXrootdJob().

int XrdXrootdJob::maxJobs [private]
int XrdXrootdJob::numJobs [private]
const int XrdXrootdJob::reScan = 15*60 [static, private]

Referenced by DoIt(), and XrdXrootdJob().


The documentation for this class was generated from the following files: