XrdCnsLogRec Class Reference

#include <XrdCnsLogRec.hh>

Collaboration diagram for XrdCnsLogRec:
Collaboration graph
[legend]

List of all members.

Classes

struct  Arg
struct  Ctl
struct  LogRec

Public Member Functions

const char * Data ()
int DLen ()
int Done (int iPos)
const char * Lfn1 ()
const char * Lfn1 (int &Len)
const char * Lfn2 ()
mode_t Mode ()
void Queue ()
void Recycle ()
char * Record ()
int setData (const char *dP1, const char *dP2=0)
void setDone (int iPos, char Val=1)
int setLen ()
int setLfn1 (const char *lfn)
int setLfn2 (const char *lfn)
void setMode (mode_t Mode)
void setMount (char mCode)
void setSize (long long Size)
void setSpace (char sCode)
void setTime (long TOD=time(0))
void setType (const char evt)
int setType (const char *evt)
long long Size ()
char Space ()
int L1sz ()
int L2sz ()
char Type ()
 XrdCnsLogRec (const char rType=0)
 ~XrdCnsLogRec ()

Static Public Member Functions

static XrdCnsLogRecAlloc ()
static XrdCnsLogRecGet (char &lrType)

Static Public Attributes

static const int maxClients = 4
static const int OffDone = offsetof(LogRec, Hdr.Done)
static const int FixDLen = offsetof(Arg, lfn)
static const int MinSize = sizeof(Ctl)
static const int MaxSize = sizeof(Arg)
static const long tBase = 1248126834L
static const char lrClosew = 't'
static const char lrCreate = 'c'
static const char lrEOL = 'E'
static const char lrInvD = 'I'
static const char lrInvF = 'i'
static const char lrMkdir = 'd'
static const char lrMount = 'M'
static const char lrMv = 'm'
static const char lrRm = 'r'
static const char lrRmdir = 'D'
static const char lrSpace = 'S'
static const char lrTOD = 'T'
static const char * IArg
static const char * iArg

Private Attributes

XrdCnsLogRecNext
LogRec Rec

Static Private Attributes

static XrdSysSemaphore qSem
static XrdSysMutex qMutex
static XrdSysMutex fMutex
static XrdCnsLogRecfreeRec
static XrdCnsLogRecfrstRec
static XrdCnsLogReclastRec
static int Running

Constructor & Destructor Documentation

XrdCnsLogRec::XrdCnsLogRec ( const char  rType = 0  )  [inline]
XrdCnsLogRec::~XrdCnsLogRec (  )  [inline]

Member Function Documentation

static XrdCnsLogRec* XrdCnsLogRec::Alloc (  )  [static]
const char* XrdCnsLogRec::Data (  )  [inline]

References XrdCnsLogRec::LogRec::Data, and Rec.

int XrdCnsLogRec::DLen (  )  [inline]
int XrdCnsLogRec::Done ( int  iPos  )  [inline]
static XrdCnsLogRec* XrdCnsLogRec::Get ( char &  lrType  )  [static]
int XrdCnsLogRec::L1sz (  )  [inline]
int XrdCnsLogRec::L2sz (  )  [inline]
const char* XrdCnsLogRec::Lfn1 ( int &  Len  )  [inline]
const char* XrdCnsLogRec::Lfn1 (  )  [inline]
const char* XrdCnsLogRec::Lfn2 (  )  [inline]
mode_t XrdCnsLogRec::Mode (  )  [inline]
void XrdCnsLogRec::Queue (  ) 
char* XrdCnsLogRec::Record (  )  [inline]

References Rec.

void XrdCnsLogRec::Recycle (  ) 
int XrdCnsLogRec::setData ( const char *  dP1,
const char *  dP2 = 0 
)
void XrdCnsLogRec::setDone ( int  iPos,
char  Val = 1 
) [inline]
int XrdCnsLogRec::setLen (  )  [inline]
int XrdCnsLogRec::setLfn1 ( const char *  lfn  )  [inline]
int XrdCnsLogRec::setLfn2 ( const char *  lfn  )  [inline]
void XrdCnsLogRec::setMode ( mode_t  Mode  )  [inline]
void XrdCnsLogRec::setMount ( char  mCode  )  [inline]
void XrdCnsLogRec::setSize ( long long  Size  )  [inline]
void XrdCnsLogRec::setSpace ( char  sCode  )  [inline]
void XrdCnsLogRec::setTime ( long  TOD = time(0)  )  [inline]
int XrdCnsLogRec::setType ( const char *  evt  ) 
void XrdCnsLogRec::setType ( const char  evt  )  [inline]
long long XrdCnsLogRec::Size (  )  [inline]
char XrdCnsLogRec::Space (  )  [inline]
char XrdCnsLogRec::Type (  )  [inline]

Member Data Documentation

const int XrdCnsLogRec::FixDLen = offsetof(Arg, lfn) [static]

Referenced by setLen(), and XrdCnsLogRec().

XrdSysMutex XrdCnsLogRec::fMutex [static, private]
XrdCnsLogRec* XrdCnsLogRec::freeRec [static, private]
XrdCnsLogRec* XrdCnsLogRec::frstRec [static, private]
const char* XrdCnsLogRec::iArg [static]
const char* XrdCnsLogRec::IArg [static]
XrdCnsLogRec* XrdCnsLogRec::lastRec [static, private]
const char XrdCnsLogRec::lrClosew = 't' [static]
const char XrdCnsLogRec::lrCreate = 'c' [static]
const char XrdCnsLogRec::lrEOL = 'E' [static]

Referenced by XrdCnsLogRec().

const char XrdCnsLogRec::lrInvD = 'I' [static]
const char XrdCnsLogRec::lrInvF = 'i' [static]
const char XrdCnsLogRec::lrMkdir = 'd' [static]
const char XrdCnsLogRec::lrMount = 'M' [static]
const char XrdCnsLogRec::lrMv = 'm' [static]
const char XrdCnsLogRec::lrRm = 'r' [static]
const char XrdCnsLogRec::lrRmdir = 'D' [static]
const char XrdCnsLogRec::lrSpace = 'S' [static]
const char XrdCnsLogRec::lrTOD = 'T' [static]

Referenced by XrdCnsLogRec().

const int XrdCnsLogRec::maxClients = 4 [static]
const int XrdCnsLogRec::MaxSize = sizeof(Arg) [static]
const int XrdCnsLogRec::MinSize = sizeof(Ctl) [static]
const int XrdCnsLogRec::OffDone = offsetof(LogRec, Hdr.Done) [static]
XrdSysMutex XrdCnsLogRec::qMutex [static, private]
int XrdCnsLogRec::Running [static, private]
const long XrdCnsLogRec::tBase = 1248126834L [static]

Referenced by setTime().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 11 Jun 2020 for xrootd by  doxygen 1.6.1