XRootD
Loading...
Searching...
No Matches
XrdXrootdMonitor_Tick Class Reference
Inheritance diagram for XrdXrootdMonitor_Tick:
Collaboration diagram for XrdXrootdMonitor_Tick:

Public Member Functions

 XrdXrootdMonitor_Tick ()
 ~XrdXrootdMonitor_Tick ()
void DoIt ()
void Set (XrdScheduler *sp, int intvl)
Public Member Functions inherited from XrdJob
 XrdJob (const char *desc="")
virtual ~XrdJob ()

Additional Inherited Members

Public Attributes inherited from XrdJob
const char * Comment
XrdJob * NextJob

Detailed Description

Definition at line 176 of file XrdXrootdMonitor.cc.

Constructor & Destructor Documentation

◆ XrdXrootdMonitor_Tick()

XrdXrootdMonitor_Tick::XrdXrootdMonitor_Tick ( )
inline

Definition at line 192 of file XrdXrootdMonitor.cc.

192 : XrdJob("monitor window clock"),
193 Sched(0), Window(0) {}
XrdJob(const char *desc="")
Definition XrdJob.hh:51
XrdScheduler * Sched

References XrdJob::XrdJob().

Here is the call graph for this function:

◆ ~XrdXrootdMonitor_Tick()

XrdXrootdMonitor_Tick::~XrdXrootdMonitor_Tick ( )
inline

Definition at line 194 of file XrdXrootdMonitor.cc.

194{}

Member Function Documentation

◆ DoIt()

void XrdXrootdMonitor_Tick::DoIt ( )
inlinevirtual

Implements XrdJob.

Definition at line 180 of file XrdXrootdMonitor.cc.

180 {
181#ifndef NODEBUG
182 const char *TraceID = "MonTick";
183#endif
184 time_t Now = XrdXrootdMonitor::Tick();
185 if (Window && Now)
186 Sched->Schedule((XrdJob *)this, Now+Window);
187 else {TRACE(DEBUG, "Monitor clock stopping.");}
188 }
#define DEBUG(x)
#define TRACE(act, x)
Definition XrdTrace.hh:63
static time_t Tick()

References XrdJob::XrdJob(), DEBUG, XrdXrootdMonitor::Tick(), and TRACE.

Here is the call graph for this function:

◆ Set()

void XrdXrootdMonitor_Tick::Set ( XrdScheduler * sp,
int intvl )
inline

Definition at line 190 of file XrdXrootdMonitor.cc.

190{Sched = sp; Window = intvl;}

References XrdJob::XrdScheduler.

Here is the call graph for this function:

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