xrootd
Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
XrdFrmFileset Class Reference

#include <XrdFrmFiles.hh>

Collaboration diagram for XrdFrmFileset:
Collaboration graph
[legend]

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 ()
XrdOucNSWalk::NSEntxyzFile (XrdOssPath::theSfx sfx)
const char * xyzPath (XrdOssPath::theSfx sfx)
int dirPath (char *dBuff, int dBlen)
int Refresh (int isMig=0, int doLock=1)
int Screen (int needLF=1)
int setCpyTime (int Refresh=0)
 XrdFrmFileset (XrdFrmFileset *sP=0, XrdOucTList *diP=0)
 ~XrdFrmFileset ()

Static Public Member Functions

static void Purge ()

Public Attributes

XrdOucXAttr< XrdFrcXAttrCpycpyInfo
XrdOucXAttr< XrdFrcXAttrPinpinInfo
XrdFrmFilesetNext
int Age

Private Member Functions

int chkLock (const char *Path)
const char * Mkfn (XrdOucNSWalk::NSEnt *fP)
void Remfix (const char *fType, const char *fPath)

Private Attributes

XrdOucNSWalk::NSEntFile [XrdOssPath::sfxNum]
XrdOucTListdInfo

Static Private Attributes

static XrdOucHash< char > BadFiles
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

References failFile(), and Mkfn().

Referenced by XrdFrmMigrate::Eligible().

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
static void XrdFrmFileset::Purge ( )
inlinestatic

References BadFiles, and XrdOucHash< T >::Purge().

Referenced by XrdFrmMigrate::Scan().

int XrdFrmFileset::Refresh ( int  isMig = 0,
int  doLock = 1 
)
void XrdFrmFileset::Remfix ( const char *  fType,
const char *  fPath 
)
private

References Say, and unlink().

Referenced by Screen().

int XrdFrmFileset::Screen ( int  needLF = 1)
int XrdFrmFileset::setCpyTime ( int  Refresh = 0)
XrdOucNSWalk::NSEnt* XrdFrmFileset::xyzFile ( XrdOssPath::theSfx  sfx)
inline

References File.

Referenced by XrdFrmAdmin::o2nFiles().

const char* XrdFrmFileset::xyzPath ( XrdOssPath::theSfx  sfx)
inline

References File, and Mkfn().

Referenced by XrdFrmAdmin::o2nFiles().

Friends And Related Function Documentation

friend class XrdFrmFiles
friend

Member Data Documentation

int XrdFrmFileset::Age
XrdOucHash< char > XrdFrmFileset::BadFiles
staticprivate

Referenced by Purge(), and Screen().

XrdOucXAttr<XrdFrcXAttrCpy> XrdFrmFileset::cpyInfo
XrdOucTList* XrdFrmFileset::dInfo
private

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

const int XrdFrmFileset::dLen = 0
staticprivate
const int XrdFrmFileset::dRef = 1
staticprivate
XrdOucNSWalk::NSEnt* XrdFrmFileset::File[XrdOssPath::sfxNum]
private
XrdFrmFileset* XrdFrmFileset::Next
XrdOucXAttr<XrdFrcXAttrPin> XrdFrmFileset::pinInfo

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