#include <XrdMonRoll.hh>
Classes | |
| struct | setMember |
Public Types | |
| enum | rollType { Misc , Protocol , AddOn , Plugin } |
Public Member Functions | |
| XrdMonRoll (XrdMonitor &xMon) | |
| ~XrdMonRoll () | |
| bool | Register (rollType setType, const char *setName, setMember setVec[]) |
Static Public Attributes | |
| static RAtomic_uint | EOV = {0} |
Definition at line 46 of file XrdMonRoll.hh.
| struct XrdMonRoll::setMember |
The setMember structure is used to define a set of counters that will be registered with this class. These counters are report in the summary.
| varName | - Is the name of the variable and becomes the xml tag or of JSON key for the reported value. |
| varValu | - Is the reference to the associated counter variable holding the value. |
Definition at line 60 of file XrdMonRoll.hh.
| Class Members | ||
|---|---|---|
| const char * | varName | |
| RAtomic_uint & | varValu | |
| enum XrdMonRoll::rollType |
| XrdMonRoll::XrdMonRoll | ( | XrdMonitor & | xMon | ) |
Definition at line 46 of file XrdMonRoll.cc.
|
inline |
Definition at line 90 of file XrdMonRoll.hh.
Definition at line 53 of file XrdMonRoll.cc.
|
static |
Register a set of counters to be reported.
| setType | - Is the type of set being defined: Misc - counters for miscellaneous activities. Protocol - counters for a protocol. |
| setName | - Is the name of the set of counter variables. The name must not already be registered. The name is reported in stats xml tag or JSON stats key value. |
| setVec | - Is a vector of setMember items that define the set of variables for the summary report. The last element of the vector must be initialized to {0, EOV}. The vector must reside in allocated storage until execution ends. |
Definition at line 40 of file XrdMonRoll.hh.