#include <XrdCmsPerfMon.hh>
Definition at line 45 of file XrdCmsPerfMon.hh.
◆ XrdCmsPerfMon()
XrdCmsPerfMon::XrdCmsPerfMon |
( |
| ) |
|
|
inline |
◆ ~XrdCmsPerfMon()
virtual XrdCmsPerfMon::~XrdCmsPerfMon |
( |
| ) |
|
|
inlinevirtual |
◆ Configure()
Configure the PerfMon plugin object. This is called after the plugin is loaded via the shared library.
- Parameters
-
cfn | The configuration file name. |
Parms | Any parameters specified in the perf directive. If none, the pointer may be null. |
Logger | The logging object. |
cmsMon | The object to be used for async reporting. |
EnvInfo | Environmental information of the caller, may be nil. |
isCMS | True if loaded by the cmsd and false if loaded by xrootd. |
- Returns
- True upon success. False upon failure.
Definition at line 65 of file XrdCmsPerfMon.hh.
71 {(void)cfn; (void)Parms; (void)
Logger; (void)cmsMon;
72 (void)EnvInfo; (void)isCMS;
References XrdGlobal::Logger.
Referenced by XrdCmsMeter::Monitor().
◆ GetInfo()
virtual void XrdCmsPerfMon::GetInfo |
( |
PerfInfo & |
info | ) |
|
|
inlinevirtual |
◆ PutInfo()
virtual void XrdCmsPerfMon::PutInfo |
( |
PerfInfo & |
info, |
|
|
bool |
alert = false |
|
) |
| |
|
inlinevirtual |
Report performance statistics as load values from 0 to 100. The performance monitor plugin may call this method to asynchronously report performance via the passed XrdCmsPerfMon object during configuration.
- Parameters
-
info | Reference to the structure that should be filled out with load values. See the PerfInfo structure. |
alert | When true, load information is forcibly sent to the cluster's manager. Otherwise, it is only sent if it significantly changes. See the cms.sched directive fuzz parameter. |
Reimplemented in XrdCmsMeter, and XrdCmsFinderTRG.
Definition at line 120 of file XrdCmsPerfMon.hh.
121 {(void)info; (void)alert;}
The documentation for this class was generated from the following file: