#include <XrdCnsLogRec.hh>
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 = "I755 -1 " |
| static const char * | iArg = "i644 0 " |
Constructor & Destructor Documentation
| XrdCnsLogRec::XrdCnsLogRec |
( |
const char |
rType = 0 | ) |
|
|
inline |
References XrdCnsLogRec::LogRec::Data, XrdCnsLogRec::Ctl::dataLen, FixDLen, XrdCnsLogRec::LogRec::Hdr, XrdCnsLogRec::Arg::lfn, XrdCnsLogRec::Ctl::lfn1Len, lrEOL, lrTOD, Rec, setTime(), and XrdCnsLogRec::Arg::Type.
Referenced by Alloc().
| XrdCnsLogRec::~XrdCnsLogRec |
( |
| ) |
|
|
inline |
Member Function Documentation
References XrdCnsLogRec::LogRec::Data, FixDLen, fMutex, freeRec, XrdCnsLogRec::LogRec::Hdr, XrdSysMutex::Lock(), XrdCnsLogRec::Arg::Mode, Next, Rec, XrdCnsLogRec::Arg::SorT, XrdCnsLogRec::Arg::Type, XrdSysMutex::UnLock(), and XrdCnsLogRec().
Referenced by XrdCns::CnsInt(), and XrdCnsDaemon::getEvents().
| const char* XrdCnsLogRec::Data |
( |
| ) |
|
|
inline |
| int XrdCnsLogRec::DLen |
( |
| ) |
|
|
inline |
| int XrdCnsLogRec::Done |
( |
int |
iPos | ) |
|
|
inline |
References XrdCnsLogRec::LogRec::Data, frstRec, lastRec, XrdSysMutex::Lock(), Next, qMutex, qSem, Rec, Recycle(), Running, XrdCnsLogRec::Arg::Type, XrdSysMutex::UnLock(), and XrdSysSemaphore::Wait().
Referenced by XrdCnsLogServer::Run().
| int XrdCnsLogRec::L1sz |
( |
| ) |
|
|
inline |
| int XrdCnsLogRec::L2sz |
( |
| ) |
|
|
inline |
| const char* XrdCnsLogRec::Lfn1 |
( |
| ) |
|
|
inline |
| const char* XrdCnsLogRec::Lfn1 |
( |
int & |
Len | ) |
|
|
inline |
| const char* XrdCnsLogRec::Lfn2 |
( |
| ) |
|
|
inline |
| mode_t XrdCnsLogRec::Mode |
( |
| ) |
|
|
inline |
| void XrdCnsLogRec::Queue |
( |
| ) |
|
| char* XrdCnsLogRec::Record |
( |
| ) |
|
|
inline |
| 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 |
References XrdCnsLogRec::LogRec::Data, XrdCnsLogRec::LogRec::Hdr, XrdCnsLogRec::Arg::Mount, Rec, XrdCnsLogRec::Ctl::Size, Size(), and XrdCnsLogRec::Arg::SorT.
Referenced by XrdCnsInventory::Conduct(), XrdCnsDaemon::getEvents(), setData(), setLfn2(), and XrdCnsInventory::XrdCnsInventory().
| void XrdCnsLogRec::setSpace |
( |
char |
sCode | ) |
|
|
inline |
| void XrdCnsLogRec::setTime |
( |
long |
TOD = time(0) | ) |
|
|
inline |
| void XrdCnsLogRec::setType |
( |
const char |
evt | ) |
|
|
inline |
| int XrdCnsLogRec::setType |
( |
const char * |
evt | ) |
|
| long long XrdCnsLogRec::Size |
( |
| ) |
|
|
inline |
| char XrdCnsLogRec::Space |
( |
| ) |
|
|
inline |
| char XrdCnsLogRec::Type |
( |
| ) |
|
|
inline |
Member Data Documentation
| const int XrdCnsLogRec::FixDLen = offsetof(Arg, lfn) |
|
static |
| const char * XrdCnsLogRec::IArg = "I755 -1 " |
|
static |
| const char * XrdCnsLogRec::iArg = "i644 0 " |
|
static |
| const char XrdCnsLogRec::lrClosew = 't' |
|
static |
| const char XrdCnsLogRec::lrCreate = 'c' |
|
static |
| const char XrdCnsLogRec::lrEOL = 'E' |
|
static |
| 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 |
| 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 |
Referenced by Alloc(), Data(), DLen(), Done(), Get(), L1sz(), L2sz(), Lfn1(), Lfn2(), Mode(), Record(), setData(), setDone(), setLen(), setLfn1(), setLfn2(), setMode(), setMount(), setSize(), setSpace(), setTime(), setType(), Size(), Space(), Type(), and XrdCnsLogRec().
| int XrdCnsLogRec::Running = 0 |
|
staticprivate |
| const long XrdCnsLogRec::tBase = 1248126834L |
|
static |
The documentation for this class was generated from the following files: