XRootD
XrdStatsJob Class Reference
+ Inheritance diagram for XrdStatsJob:
+ Collaboration diagram for XrdStatsJob:

Public Member Functions

 XrdStatsJob (XrdScheduler *schP, XrdStats *sP, int iV)
 
 ~XrdStatsJob ()
 
void DoIt ()
 

Detailed Description

Definition at line 57 of file XrdStats.cc.

Constructor & Destructor Documentation

◆ XrdStatsJob()

XrdStatsJob::XrdStatsJob ( XrdScheduler schP,
XrdStats sP,
int  iV 
)
inline

Definition at line 65 of file XrdStats.cc.

66  : XrdJob("stats reporter"),
67  Sched(schP), Stats(sP), iVal(iV)
68  {Sched->Schedule((XrdJob *)this, time(0)+iVal);}
Definition: XrdJob.hh:43
XrdJob(const char *desc="")
Definition: XrdJob.hh:51
void Schedule(XrdJob *jp)

References XrdScheduler::Schedule().

+ Here is the call graph for this function:

◆ ~XrdStatsJob()

XrdStatsJob::~XrdStatsJob ( )
inline

Definition at line 69 of file XrdStats.cc.

69 {}

Member Function Documentation

◆ DoIt()

void XrdStatsJob::DoIt ( )
inlinevirtual

Implements XrdJob.

Definition at line 61 of file XrdStats.cc.

61  {Stats->Report();
62  Sched->Schedule((XrdJob *)this, time(0)+iVal);
63  }
void Report(char **Dest=0, int iVal=600, int Opts=0)
Definition: XrdStats.cc:108

References XrdStats::Report(), and XrdScheduler::Schedule().

+ Here is the call graph for this function:

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