![]() |
ROOT
6.06/09
Reference Guide
|
Definition at line 48 of file XrdProofGroup.h.
Public Member Functions | |
| ~XrdProofGroup () | |
| Destructor. More... | |
| int | Active (const char *usr=0) |
| Return the number of active groups (usr = 0) or the number of active sessions for user 'usr'. More... | |
| bool | HasMember (const char *usr) |
| Check if 'usr' is member of this group. More... | |
| const char * | Members () const |
| const char * | Name () const |
| int | Size () const |
| int | Fraction () const |
| float | FracEff () const |
| float | Priority () const |
| void | SetFracEff (float f) |
| void | SetFraction (int f) |
| void | SetPriority (float p) |
| void | Count (const char *usr, int n=1) |
| Modify the active count. More... | |
| void | Print () |
| Dump group content. More... | |
Private Member Functions | |
| void | AddMember (const char *usr) |
| XrdProofGroup (const char *n, const char *m=0) | |
| Constructor. More... | |
Private Attributes | |
| XrdOucString | fName |
| XrdOucString | fMembers |
| int | fSize |
| XrdOucHash< XrdProofGroupMember > | fActives |
| float | fPriority |
| int | fFraction |
| float | fFracEff |
| XrdSysRecMutex * | fMutex |
Friends | |
| class | XrdProofGroupMgr |
#include <XrdProofGroup.h>
|
private |
Constructor.
Definition at line 100 of file XrdProofGroup.cxx.
| XrdProofGroup::~XrdProofGroup | ( | ) |
Destructor.
Definition at line 112 of file XrdProofGroup.cxx.
| int XrdProofGroup::Active | ( | const char * | usr = 0 | ) |
Return the number of active groups (usr = 0) or the number of active sessions for user 'usr'.
Definition at line 172 of file XrdProofGroup.cxx.
Referenced by BroadcastPriority(), CreateActiveList(), GetGroupsInfo(), and SetGroupFracEff().
|
inlineprivate |
Definition at line 64 of file XrdProofGroup.h.
Referenced by XrdProofGroupMgr::ParseInfoFrom().
| void XrdProofGroup::Count | ( | const char * | usr, |
| int | n = 1 |
||
| ) |
Modify the active count.
Definition at line 142 of file XrdProofGroup.cxx.
|
inline |
Definition at line 79 of file XrdProofGroup.h.
Referenced by CreateActiveList(), and SetGroupFracEff().
|
inline |
Definition at line 78 of file XrdProofGroup.h.
Referenced by GetGroupsInfo(), and SetGroupFracEff().
| bool XrdProofGroup::HasMember | ( | const char * | usr | ) |
Check if 'usr' is member of this group.
Definition at line 190 of file XrdProofGroup.cxx.
Referenced by XrdProofdClientMgr::CheckClient(), CheckUser(), and XrdProofGroupMgr::GetUserGroup().
|
inline |
Definition at line 74 of file XrdProofGroup.h.
Referenced by ExportGroup().
|
inline |
Definition at line 75 of file XrdProofGroup.h.
Referenced by AuxFunc(), XrdProofdClientMgr::CheckClient(), ExportGroup(), XrdProofdClientMgr::GetClient(), XrdProofGroupMgr::GetUserGroup(), and XrdProofdAdmin::SetROOTVersion().
| void XrdProofGroup::Print | ( | ) |
Dump group content.
Definition at line 122 of file XrdProofGroup.cxx.
Referenced by XrdProofdClientMgr::CheckClient(), and PrintGroup().
|
inline |
Definition at line 80 of file XrdProofGroup.h.
Referenced by BroadcastPriority(), GetGroupsInfo(), XrdProofSched::GetNumWorkers(), and SetGroupFracEff().
|
inline |
Definition at line 81 of file XrdProofGroup.h.
Referenced by GetGroupsInfo(), and SetGroupFracEff().
|
inline |
Definition at line 82 of file XrdProofGroup.h.
Referenced by XrdProofGroupMgr::ParseInfoFrom().
|
inline |
Definition at line 83 of file XrdProofGroup.h.
Referenced by XrdProofGroupMgr::ParseInfoFrom(), XrdProofGroupMgr::ReadPriorities(), and XrdProofdPriorityMgr::SetGroupPriority().
|
inline |
Definition at line 76 of file XrdProofGroup.h.
Referenced by ExportGroup().
|
friend |
Definition at line 49 of file XrdProofGroup.h.
|
private |
Definition at line 55 of file XrdProofGroup.h.
|
private |
Definition at line 60 of file XrdProofGroup.h.
Referenced by FracEff(), and XrdProofGroup().
|
private |
Definition at line 59 of file XrdProofGroup.h.
Referenced by Fraction(), Print(), and XrdProofGroup().
|
private |
Definition at line 53 of file XrdProofGroup.h.
Referenced by HasMember(), and Print().
|
private |
Definition at line 62 of file XrdProofGroup.h.
Referenced by Active(), Count(), HasMember(), Print(), XrdProofGroup(), and ~XrdProofGroup().
|
private |
Definition at line 51 of file XrdProofGroup.h.
Referenced by Print().
|
private |
Definition at line 58 of file XrdProofGroup.h.
Referenced by Print(), Priority(), and XrdProofGroup().
|
private |
Definition at line 54 of file XrdProofGroup.h.
Referenced by Print(), Size(), and XrdProofGroup().