XRootD
Loading...
Searching...
No Matches
XrdCms::PingClock Class Reference
+ Inheritance diagram for XrdCms::PingClock:
+ Collaboration diagram for XrdCms::PingClock:

Public Member Functions

 PingClock ()
 
 ~PingClock ()
 
void DoIt ()
 

Static Public Member Functions

static void Start ()
 

Detailed Description

Definition at line 168 of file XrdCmsConfig.cc.

Constructor & Destructor Documentation

◆ PingClock()

XrdCms::PingClock::PingClock ( )
inline

Definition at line 178 of file XrdCmsConfig.cc.

178: XrdJob(".ping clock") {DoIt();}
XrdJob(const char *desc="")
Definition XrdJob.hh:51

References XrdJob::XrdJob(), and DoIt().

Referenced by Start().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ~PingClock()

XrdCms::PingClock::~PingClock ( )
inline

Definition at line 179 of file XrdCmsConfig.cc.

179{}

Member Function Documentation

◆ DoIt()

void XrdCms::PingClock::DoIt ( )
inlinevirtual

Implements XrdJob.

Definition at line 172 of file XrdCmsConfig.cc.

172 {Config.PingTick++;
173 Sched->Schedule((XrdJob *)this,time(0)+Config.AskPing);
174 }
void Schedule(XrdJob *jp)
XrdScheduler * Sched
XrdCmsConfig Config

References XrdJob::XrdJob(), XrdCms::Config, and XrdCms::Sched.

Referenced by PingClock().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Start()

static void XrdCms::PingClock::Start ( )
inlinestatic

Definition at line 176 of file XrdCmsConfig.cc.

176{static PingClock selfie;}

References PingClock().

Referenced by XrdCmsConfig::DoIt().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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