#include <XrdCnsLogFile.hh>
Collaboration diagram for XrdCnsLogFile:
Public Member Functions | |
int | Add (XrdCnsLogRec *Rec, int doSync=1) |
int | Commit () |
int | Eol () |
const char * | FName () |
char * | getLog (int &Dlen) |
XrdCnsLogRec * | getRec () |
int | Open (int aBuff=1, off_t thePos=0) |
XrdCnsLogFile * | Subscribe (const char *Path, int cNum) |
int | Unlink () |
XrdCnsLogFile (const char *Path, int cnum=0, int Wait=1) | |
~XrdCnsLogFile () | |
Static Public Member Functions | |
void | maxRecs (int nRecs) |
Public Attributes | |
XrdCnsLogFile * | Next |
Private Member Functions | |
int | Read (char *buff, int blen) |
Private Attributes | |
XrdSysMutex | logMutex |
XrdSysSemaphore | logSem |
XrdSysSemaphore | synSem |
XrdCnsLogFile * | subNext |
XrdCnsLogRec | Rec |
char * | logBuff |
char * | logNext |
char * | logFN |
int | logFD |
int | logRdr |
int | logWait |
int | logOffset |
int | recOffset |
Static Private Attributes | |
int | logRMax = 1024 |
int | logBMax = 1024 * sizeof(XrdCnsLogRec) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|