xrootd
Public Member Functions | Static Public Member Functions | Static Private Attributes | List of all members
XrdXrootdPrepare Class Reference

#include <XrdXrootdPrepare.hh>

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

Public Member Functions

void DoIt ()
 
 XrdXrootdPrepare (XrdSysError *lp, XrdScheduler *sp)
 
 ~XrdXrootdPrepare ()
 
- Public Member Functions inherited from XrdJob
 XrdJob (const char *desc="")
 
virtual ~XrdJob ()
 

Static Public Member Functions

static int Close (int fd)
 
static int List (XrdXrootdPrepArgs &pargs, char *resp, int resplen)
 
static void Log (XrdXrootdPrepArgs &pargs)
 
static void Logdel (char *reqid)
 
static int Open (const char *reqid, int &fsz)
 
static void Scrub ()
 
static int setParms (int stime, int skeep)
 
static int setParms (char *ldir)
 

Static Private Attributes

static const char * TraceID = "Prepare"
 
static XrdSchedulerSchedP
 
static XrdSysErroreDest
 
static int scrubtime = 60*60
 
static int scrubkeep = 60*60*24
 
static char * LogDir = 0
 
static int LogDirLen = 0
 

Additional Inherited Members

- Public Attributes inherited from XrdJob
XrdJobNextJob
 
const char * Comment
 

Constructor & Destructor Documentation

XrdXrootdPrepare::XrdXrootdPrepare ( XrdSysError lp,
XrdScheduler sp 
)
XrdXrootdPrepare::~XrdXrootdPrepare ( )
inline

Member Function Documentation

static int XrdXrootdPrepare::Close ( int  fd)
inlinestatic

References close().

void XrdXrootdPrepare::DoIt ( )
inlinevirtual

Implements XrdJob.

References SchedP, XrdScheduler::Schedule(), Scrub(), and scrubtime.

int XrdXrootdPrepare::List ( XrdXrootdPrepArgs pargs,
char *  resp,
int  resplen 
)
static
void XrdXrootdPrepare::Log ( XrdXrootdPrepArgs pargs)
static
void XrdXrootdPrepare::Logdel ( char *  reqid)
static
int XrdXrootdPrepare::Open ( const char *  reqid,
int &  fsz 
)
static

References LogDir, LogDirLen, open(), and stat().

void XrdXrootdPrepare::Scrub ( )
static
int XrdXrootdPrepare::setParms ( int  stime,
int  skeep 
)
static

References scrubkeep, and scrubtime.

Referenced by XrdXrootdProtocol::xprep().

int XrdXrootdPrepare::setParms ( char *  ldir)
static

References access(), LogDir, LogDirLen, and stat().

Member Data Documentation

XrdSysError * XrdXrootdPrepare::eDest
staticprivate
char * XrdXrootdPrepare::LogDir = 0
staticprivate
int XrdXrootdPrepare::LogDirLen = 0
staticprivate

Referenced by List(), Log(), Logdel(), Open(), Scrub(), and setParms().

XrdScheduler * XrdXrootdPrepare::SchedP
staticprivate

Referenced by DoIt(), and XrdXrootdPrepare().

int XrdXrootdPrepare::scrubkeep = 60*60*24
staticprivate

Referenced by Scrub(), and setParms().

int XrdXrootdPrepare::scrubtime = 60*60
staticprivate

Referenced by DoIt(), setParms(), and XrdXrootdPrepare().

const char * XrdXrootdPrepare::TraceID = "Prepare"
staticprivate

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