XrdProofGroup Class Reference

#include <XrdProofGroup.h>

List of all members.

Public Member Functions

 ~XrdProofGroup ()
int Active (const char *usr=0)
bool HasMember (const char *usr)
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)
void Print ()

Private Member Functions

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

Private Attributes

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

Friends

class XrdProofGroupMgr


Detailed Description

Definition at line 52 of file XrdProofGroup.h.


Constructor & Destructor Documentation

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

Definition at line 98 of file XrdProofGroup.cxx.

References fFracEff, fFraction, fMutex, fPriority, and fSize.

XrdProofGroup::~XrdProofGroup (  ) 

Definition at line 110 of file XrdProofGroup.cxx.

References fMutex.


Member Function Documentation

void XrdProofGroup::AddMember ( const char *  usr  )  [inline, private]

Definition at line 68 of file XrdProofGroup.h.

References fMembers, fMutex, and fSize.

int XrdProofGroup::Active ( const char *  usr = 0  ) 

Definition at line 168 of file XrdProofGroup.cxx.

References fActives, XrdOucHash< T >::Find(), fMutex, m, and XrdOucHash< T >::Num().

bool XrdProofGroup::HasMember ( const char *  usr  ) 

Definition at line 187 of file XrdProofGroup.cxx.

References XrdOucString::find(), fMembers, fMutex, STR_NPOS, and u.

const char* XrdProofGroup::Members (  )  const [inline]

Definition at line 78 of file XrdProofGroup.h.

References XrdOucString::c_str(), fMembers, and fMutex.

const char* XrdProofGroup::Name (  )  const [inline]

Definition at line 79 of file XrdProofGroup.h.

References XrdOucString::c_str(), fMutex, and fName.

int XrdProofGroup::Size (  )  const [inline]

Definition at line 80 of file XrdProofGroup.h.

References fMutex, and fSize.

int XrdProofGroup::Fraction (  )  const [inline]

Definition at line 82 of file XrdProofGroup.h.

References fFraction, and fMutex.

float XrdProofGroup::FracEff (  )  const [inline]

Definition at line 83 of file XrdProofGroup.h.

References fFracEff, and fMutex.

float XrdProofGroup::Priority (  )  const [inline]

Definition at line 84 of file XrdProofGroup.h.

References fMutex, and fPriority.

Referenced by XrdProofSched::GetNumWorkers().

void XrdProofGroup::SetFracEff ( float  f  )  [inline]

Definition at line 85 of file XrdProofGroup.h.

References fFracEff, and fMutex.

void XrdProofGroup::SetFraction ( int  f  )  [inline]

Definition at line 86 of file XrdProofGroup.h.

References fFraction, and fMutex.

void XrdProofGroup::SetPriority ( float  p  )  [inline]

Definition at line 87 of file XrdProofGroup.h.

References fMutex, and fPriority.

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

Definition at line 139 of file XrdProofGroup.cxx.

References XrdOucHash< T >::Add(), XrdOucHash< T >::Del(), fActives, XrdOucHash< T >::Find(), fMutex, and m.

void XrdProofGroup::Print (  ) 

Definition at line 120 of file XrdProofGroup.cxx.

References fFraction, fMembers, fMutex, fName, fPriority, fSize, TRACE, and XPDLOC.


Friends And Related Function Documentation

friend class XrdProofGroupMgr [friend]

Definition at line 53 of file XrdProofGroup.h.


Member Data Documentation

XrdOucString XrdProofGroup::fName [private]

Definition at line 55 of file XrdProofGroup.h.

Referenced by Name(), and Print().

XrdOucString XrdProofGroup::fMembers [private]

Definition at line 57 of file XrdProofGroup.h.

Referenced by AddMember(), HasMember(), Members(), and Print().

int XrdProofGroup::fSize [private]

Definition at line 58 of file XrdProofGroup.h.

Referenced by AddMember(), Print(), Size(), and XrdProofGroup().

XrdOucHash<XrdProofGroupMember> XrdProofGroup::fActives [private]

Definition at line 59 of file XrdProofGroup.h.

Referenced by Active(), and Count().

float XrdProofGroup::fPriority [private]

Definition at line 62 of file XrdProofGroup.h.

Referenced by Print(), Priority(), SetPriority(), and XrdProofGroup().

int XrdProofGroup::fFraction [private]

Definition at line 63 of file XrdProofGroup.h.

Referenced by Fraction(), Print(), SetFraction(), and XrdProofGroup().

float XrdProofGroup::fFracEff [private]

Definition at line 64 of file XrdProofGroup.h.

Referenced by FracEff(), SetFracEff(), and XrdProofGroup().

XrdSysRecMutex* XrdProofGroup::fMutex [private]

Definition at line 66 of file XrdProofGroup.h.

Referenced by Active(), AddMember(), Count(), FracEff(), Fraction(), HasMember(), Members(), Name(), Print(), Priority(), SetFracEff(), SetFraction(), SetPriority(), Size(), XrdProofGroup(), and ~XrdProofGroup().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:50:43 2011 for ROOT_528-00b_version by  doxygen 1.5.1