![]() |
XRootD
|
#include <XrdOfsHandle.hh>
Public Member Functions | |
XrdOfsHandle () | |
~XrdOfsHandle () | |
void | Activate (XrdOssDF *ssP) |
int | Inactive () |
void | Lock () |
const char * | Name () |
int | PoscGet (short &Mode, int Done=0) |
int | PoscSet (const char *User, int Unum, short Mode) |
const char * | PoscUsr () |
int | Retire (int &retc, long long *retsz=0, char *buff=0, int blen=0) |
int | Retire (XrdOfsHanCB *, int DSec) |
XrdOssDF & | Select (void) |
void | Suppress (int rrc=-EDOM, int wrc=-EDOM) |
void | UnLock () |
int | Usage () |
Static Public Member Functions | |
static int | Alloc (const char *thePath, int Opts, XrdOfsHandle **Handle) |
static int | Alloc (XrdOfsHandle **Handle) |
static void | Hide (const char *thePath) |
static int | StartXpr (int Init=0) |
Public Attributes | |
char | isChanged |
char | isCompressed |
char | isPending |
char | isRW |
Static Public Attributes | |
static const int | opPC = 3 |
static const int | opRW = 1 |
Friends | |
class | XrdOfsHanTab |
class | XrdOfsHanXpr |
Definition at line 125 of file XrdOfsHandle.hh.
|
inline |
Definition at line 172 of file XrdOfsHandle.hh.
Referenced by Alloc(), Alloc(), Hide(), and StartXpr().
|
inline |
Definition at line 174 of file XrdOfsHandle.hh.
References Retire().
|
inline |
Definition at line 136 of file XrdOfsHandle.hh.
|
static |
Definition at line 260 of file XrdOfsHandle.cc.
References XrdOfsHandle(), XrdOfsHanTab::Add(), Alloc(), XrdOfsHanTab::Find(), XrdOfsHanKey::Links, OfsStats, opRW, and XrdOfsHanTab.
Referenced by XrdOfs::XrdOfs(), Alloc(), Alloc(), and XrdOfsFile::open().
|
static |
Definition at line 297 of file XrdOfsHandle.cc.
References XrdOfsHandle(), and Alloc().
|
static |
Definition at line 346 of file XrdOfsHandle.cc.
References XrdOfsHandle(), and XrdOfsHanKey::Len.
Referenced by XrdOfs::rename().
|
inline |
Definition at line 146 of file XrdOfsHandle.hh.
Referenced by XrdOfsFile::close().
|
inline |
Definition at line 169 of file XrdOfsHandle.hh.
Referenced by XrdOfsFile::close(), XrdOfs::Emsg(), and XrdOfsHanXpr::Get().
|
inline |
Definition at line 148 of file XrdOfsHandle.hh.
Referenced by XrdOfsFile::close(), XrdOfs::Emsg(), and XrdOfs::Unpersist().
int XrdOfsHandle::PoscGet | ( | short & | Mode, |
int | Done = 0 ) |
Definition at line 366 of file XrdOfsHandle.cc.
References Mode, XrdOfsHanPsc::Recycle(), and XrdOfsHanPsc::xprP.
Referenced by XrdOfsFile::close(), and XrdOfs::Unpersist().
int XrdOfsHandle::PoscSet | ( | const char * | User, |
int | Unum, | ||
short | Mode ) |
Definition at line 392 of file XrdOfsHandle.cc.
References XrdOfsHanPsc::Alloc(), and OfsEroute.
const char * XrdOfsHandle::PoscUsr | ( | ) |
Definition at line 446 of file XrdOfsHandle.cc.
Referenced by XrdOfs::Unpersist().
int XrdOfsHandle::Retire | ( | int & | retc, |
long long * | retsz = 0, | ||
char * | buff = 0, | ||
int | blen = 0 ) |
Definition at line 458 of file XrdOfsHandle.cc.
References XrdOssDF::Close(), isRW, OfsEroute, OfsStats, strlcpy(), and UnLock().
Referenced by ~XrdOfsHandle(), XrdOfsFile::close(), XrdOfsFile::open(), Retire(), and StartXpr().
int XrdOfsHandle::Retire | ( | XrdOfsHanCB * | cbP, |
int | DSec ) |
Definition at line 489 of file XrdOfsHandle.cc.
References XrdOfsHanXpr::add2Q(), OfsEroute, Retire(), XrdOfsHanCB::Retired(), StartXpr(), UnLock(), and XrdOfsHanXpr.
|
inline |
Definition at line 161 of file XrdOfsHandle.hh.
Referenced by XrdOfsFile::close().
|
static |
Definition at line 522 of file XrdOfsHandle.cc.
References XrdOfsHandle(), XrdOfsHanXpr::Get(), XrdOfsHanKey::Links, OfsEroute, Retire(), XrdOfsHanCB::Retired(), XrdSysThread::Run(), UnLock(), XrdOfsHanKey::Val, XrdOfsHanPsc::xprP, XrdOfsHanXpire(), and XrdOfsHanXpr.
Referenced by Retire(), and XrdOfsHanXpire().
void XrdOfsHandle::Suppress | ( | int | rrc = -EDOM, |
int | wrc = -EDOM ) |
Definition at line 583 of file XrdOfsHandle.cc.
|
inline |
Definition at line 170 of file XrdOfsHandle.hh.
Referenced by XrdOfs::Emsg(), Retire(), Retire(), and StartXpr().
|
inline |
Definition at line 167 of file XrdOfsHandle.hh.
|
friend |
Definition at line 127 of file XrdOfsHandle.hh.
References XrdOfsHanTab.
Referenced by Alloc(), and XrdOfsHanTab.
|
friend |
Definition at line 128 of file XrdOfsHandle.hh.
References XrdOfsHanXpr.
Referenced by Retire(), StartXpr(), and XrdOfsHanXpr.
char XrdOfsHandle::isChanged |
Definition at line 132 of file XrdOfsHandle.hh.
char XrdOfsHandle::isCompressed |
Definition at line 133 of file XrdOfsHandle.hh.
char XrdOfsHandle::isPending |
Definition at line 131 of file XrdOfsHandle.hh.
char XrdOfsHandle::isRW |
Definition at line 134 of file XrdOfsHandle.hh.
Referenced by XrdOfsFile::close(), XrdOfs::Emsg(), and Retire().
|
static |
Definition at line 139 of file XrdOfsHandle.hh.
Referenced by XrdOfsFile::close(), XrdOfs::Emsg(), XrdOfsFile::open(), XrdOfsFile::pgWrite(), and XrdOfsFile::write().
|
static |
Definition at line 138 of file XrdOfsHandle.hh.
Referenced by Alloc(), and XrdOfsFile::open().