Logo ROOT   6.18/05
Reference Guide
List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
XrdProofGroup Class Reference

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...
 
void Count (const char *usr, int n=1)
 Modify the active count. More...
 
float FracEff () const
 
int Fraction () const
 
bool HasMember (const char *usr)
 Check if 'usr' is member of this group. More...
 
const char * Members () const
 
const char * Name () const
 
void Print ()
 Dump group content. More...
 
float Priority () const
 
void SetFracEff (float f)
 
void SetFraction (int f)
 
void SetPriority (float p)
 
int Size () const
 

Private Member Functions

 XrdProofGroup (const char *n, const char *m=0)
 Constructor. More...
 
void AddMember (const char *usr)
 

Private Attributes

XrdOucHash< XrdProofGroupMemberfActives
 
float fFracEff
 
int fFraction
 
XrdOucString fMembers
 
XrdSysRecMutexfMutex
 
XrdOucString fName
 
float fPriority
 
int fSize
 

Friends

class XrdProofGroupMgr
 

#include <XrdProofGroup.h>

Constructor & Destructor Documentation

◆ XrdProofGroup()

XrdProofGroup::XrdProofGroup ( const char *  n,
const char *  m = 0 
)
private

Constructor.

Definition at line 100 of file XrdProofGroup.cxx.

◆ ~XrdProofGroup()

XrdProofGroup::~XrdProofGroup ( )

Destructor.

Definition at line 112 of file XrdProofGroup.cxx.

Member Function Documentation

◆ Active()

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.

◆ AddMember()

void XrdProofGroup::AddMember ( const char *  usr)
inlineprivate

Definition at line 64 of file XrdProofGroup.h.

◆ Count()

void XrdProofGroup::Count ( const char *  usr,
int  n = 1 
)

Modify the active count.

Definition at line 142 of file XrdProofGroup.cxx.

◆ FracEff()

float XrdProofGroup::FracEff ( ) const
inline

Definition at line 79 of file XrdProofGroup.h.

◆ Fraction()

int XrdProofGroup::Fraction ( ) const
inline

Definition at line 78 of file XrdProofGroup.h.

◆ HasMember()

bool XrdProofGroup::HasMember ( const char *  usr)

Check if 'usr' is member of this group.

Definition at line 190 of file XrdProofGroup.cxx.

◆ Members()

const char * XrdProofGroup::Members ( ) const
inline

Definition at line 74 of file XrdProofGroup.h.

◆ Name()

const char * XrdProofGroup::Name ( ) const
inline

Definition at line 75 of file XrdProofGroup.h.

◆ Print()

void XrdProofGroup::Print ( )

Dump group content.

Definition at line 122 of file XrdProofGroup.cxx.

◆ Priority()

float XrdProofGroup::Priority ( ) const
inline

Definition at line 80 of file XrdProofGroup.h.

◆ SetFracEff()

void XrdProofGroup::SetFracEff ( float  f)
inline

Definition at line 81 of file XrdProofGroup.h.

◆ SetFraction()

void XrdProofGroup::SetFraction ( int  f)
inline

Definition at line 82 of file XrdProofGroup.h.

◆ SetPriority()

void XrdProofGroup::SetPriority ( float  p)
inline

Definition at line 83 of file XrdProofGroup.h.

◆ Size()

int XrdProofGroup::Size ( ) const
inline

Definition at line 76 of file XrdProofGroup.h.

Friends And Related Function Documentation

◆ XrdProofGroupMgr

friend class XrdProofGroupMgr
friend

Definition at line 49 of file XrdProofGroup.h.

Member Data Documentation

◆ fActives

XrdOucHash<XrdProofGroupMember> XrdProofGroup::fActives
private

Definition at line 55 of file XrdProofGroup.h.

◆ fFracEff

float XrdProofGroup::fFracEff
private

Definition at line 60 of file XrdProofGroup.h.

◆ fFraction

int XrdProofGroup::fFraction
private

Definition at line 59 of file XrdProofGroup.h.

◆ fMembers

XrdOucString XrdProofGroup::fMembers
private

Definition at line 53 of file XrdProofGroup.h.

◆ fMutex

XrdSysRecMutex* XrdProofGroup::fMutex
private

Definition at line 62 of file XrdProofGroup.h.

◆ fName

XrdOucString XrdProofGroup::fName
private

Definition at line 51 of file XrdProofGroup.h.

◆ fPriority

float XrdProofGroup::fPriority
private

Definition at line 58 of file XrdProofGroup.h.

◆ fSize

int XrdProofGroup::fSize
private

Definition at line 54 of file XrdProofGroup.h.


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