xrootd
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | Friends

XrdFrmFileset Class Reference

#include <XrdFrmFiles.hh>

Collaboration diagram for XrdFrmFileset:
Collaboration graph
[legend]

List of all members.

Public Member Functions

XrdOucNSWalk::NSEntbaseFile ()
const char * basePath ()
XrdOucNSWalk::NSEntfailFile ()
const char * failPath ()
XrdOucNSWalk::NSEntlockFile ()
const char * lockPath ()
XrdOucNSWalk::NSEntpfnFile ()
const char * pfnPath ()
XrdOucNSWalk::NSEntpinFile ()
const char * pinPath ()
int dirPath (char *dBuff, int dBlen)
int Refresh (int isMig=0, int doLock=1)
void UnLock ()
 XrdFrmFileset (XrdFrmFileset *sP=0, XrdOucTList *diP=0)
 ~XrdFrmFileset ()

Public Attributes

XrdFrmFilesetNext
int Age

Private Member Functions

int chkLock (const char *Path)
int getLock (char *Path, int Shared=0, int noWait=0)
const char * Mkfn (XrdOucNSWalk::NSEnt *fP)

Private Attributes

XrdOucNSWalk::NSEntFile [XrdOssPath::sfxNum]
XrdOucTListdInfo
int dlkFD
int flkFD

Static Private Attributes

static const int dLen = 0
static const int dRef = 1

Friends

class XrdFrmFiles

Constructor & Destructor Documentation

XrdFrmFileset::XrdFrmFileset ( XrdFrmFileset sP = 0,
XrdOucTList diP = 0 
)

References dRef, File, and XrdOucTList::ival.

XrdFrmFileset::~XrdFrmFileset ( )

Member Function Documentation

XrdOucNSWalk::NSEnt* XrdFrmFileset::baseFile ( ) [inline]
const char* XrdFrmFileset::basePath ( ) [inline]
int XrdFrmFileset::chkLock ( const char *  Path) [private]

References close, fcntl(), FLOCK_t, open(), and Say.

Referenced by Refresh().

int XrdFrmFileset::dirPath ( char *  dBuff,
int  dBlen 
)
XrdOucNSWalk::NSEnt* XrdFrmFileset::failFile ( ) [inline]
const char* XrdFrmFileset::failPath ( ) [inline]
int XrdFrmFileset::getLock ( char *  Path,
int  Shared = 0,
int  noWait = 0 
) [private]

References close, fcntl(), FLOCK_t, open(), S_IRGRP, S_IROTH, S_IRUSR, S_IWUSR, and Say.

Referenced by Refresh().

XrdOucNSWalk::NSEnt* XrdFrmFileset::lockFile ( ) [inline]
const char* XrdFrmFileset::lockPath ( ) [inline]
const char * XrdFrmFileset::Mkfn ( XrdOucNSWalk::NSEnt fP) [private]
XrdOucNSWalk::NSEnt* XrdFrmFileset::pfnFile ( ) [inline]

References File, and XrdOssPath::isPfn.

Referenced by XrdFrmAdmin::AuditNameNB(), and pfnPath().

const char* XrdFrmFileset::pfnPath ( ) [inline]

References Mkfn(), and pfnFile().

Referenced by XrdFrmAdmin::AuditNameNB().

XrdOucNSWalk::NSEnt* XrdFrmFileset::pinFile ( ) [inline]
const char* XrdFrmFileset::pinPath ( ) [inline]

References Mkfn(), and pinFile().

Referenced by XrdFrmAdmin::AuditNameNB().

int XrdFrmFileset::Refresh ( int  isMig = 0,
int  doLock = 1 
)
void XrdFrmFileset::UnLock ( )

References close, dlkFD, and flkFD.

Referenced by Refresh(), and ~XrdFrmFileset().


Friends And Related Function Documentation

friend class XrdFrmFiles [friend]

Member Data Documentation

Referenced by dirPath(), Mkfn(), and ~XrdFrmFileset().

const int XrdFrmFileset::dLen = 0 [static, private]

Referenced by dirPath(), Mkfn(), and XrdFrmFiles::Process().

int XrdFrmFileset::dlkFD [private]

Referenced by Refresh(), and UnLock().

const int XrdFrmFileset::dRef = 1 [static, private]
XrdOucNSWalk::NSEnt* XrdFrmFileset::File[XrdOssPath::sfxNum] [private]
int XrdFrmFileset::flkFD [private]

Referenced by Refresh(), and UnLock().


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