#include <XrdOfsHandle.hh>
Static Public Attributes |
| static const int | opRW = 1 |
| static const int | opPC = 3 |
Private Member Functions |
| int | WaitLock (void) |
Constructor & Destructor Documentation
| XrdOfsHandle::XrdOfsHandle |
( |
| ) |
|
|
inline |
| XrdOfsHandle::~XrdOfsHandle |
( |
| ) |
|
|
inline |
Member Function Documentation
| void XrdOfsHandle::Activate |
( |
XrdOssDF * |
ssP | ) |
|
|
inline |
| int XrdOfsHandle::Alloc |
( |
const char * |
thePath, |
|
|
int |
Opts, |
|
|
XrdOfsHandle ** |
Handle |
|
) |
| |
|
static |
References XrdOfsStats::Add(), XrdOfsHanTab::Add(), XrdOfsStats::Data, XrdOfsHanTab::Find(), XrdOfsHanKey::Links, XrdSysMutex::Lock(), myMutex, nolokDelay, XrdOfsStats::StatsData::numHandles, opRW, Path, roTable, rwTable, XrdSysMutex::UnLock(), and WaitLock().
Referenced by Alloc(), XrdOfs::ConfigPosc(), XrdOfsFile::open(), PoscSet(), and XrdOfs::XrdOfs().
References Free, isChanged, isCompressed, isPending, isRW, XrdOfsHanKey::Links, Lock(), Next, nomemDelay, opPC, ossDF, Path, Posc, ssi, and XrdOfsHandle().
| void XrdOfsHandle::Hide |
( |
const char * |
thePath | ) |
|
|
static |
| int XrdOfsHandle::Inactive |
( |
| ) |
|
|
inline |
| void XrdOfsHandle::Lock |
( |
| ) |
|
|
inline |
| const char* XrdOfsHandle::Name |
( |
| ) |
|
|
inline |
| int XrdOfsHandle::PoscGet |
( |
short & |
Mode, |
|
|
int |
Done = 0 |
|
) |
| |
References XrdOfsHanKey::Links, XrdSysMutex::Lock(), XrdOfsHanPsc::Mode, myMutex, Path, Posc, XrdOfsHanPsc::Recycle(), XrdSysMutex::UnLock(), XrdOfsHanPsc::Unum, and XrdOfsHanPsc::xprP.
Referenced by XrdOfsFile::close(), and XrdOfs::Unpersist().
| int XrdOfsHandle::PoscSet |
( |
const char * |
User, |
|
|
int |
Unum, |
|
|
short |
Mode |
|
) |
| |
| const char * XrdOfsHandle::PoscUsr |
( |
| ) |
|
| int XrdOfsHandle::Retire |
( |
long long * |
retsz = 0, |
|
|
char * |
buff = 0, |
|
|
int |
blen = 0 |
|
) |
| |
References XrdOssDF::Close(), XrdOfsStats::Data, XrdOfsStats::Dec(), XrdSysError::Emsg(), Free, isRW, XrdOfsHanKey::Len, XrdOfsHanKey::Links, XrdSysMutex::Lock(), myMutex, Next, XrdOfsStats::StatsData::numHandles, ossDF, Path, Posc, XrdOfsHanPsc::Recycle(), XrdOfsHanTab::Remove(), roTable, rwTable, ssi, strlcpy(), XrdSysMutex::UnLock(), UnLock(), and XrdOfsHanKey::Val.
Referenced by XrdOfsFile::close(), XrdOfs::ConfigPosc(), Retire(), StartXpr(), and ~XrdOfsHandle().
| int XrdOfsHandle::Retire |
( |
XrdOfsHanCB * |
cbP, |
|
|
int |
DSec |
|
) |
| |
References XrdOfsHanXpr::add2Q(), XrdSysError::Emsg(), XrdOfsHanKey::Links, XrdSysMutex::Lock(), myMutex, Path, Posc, Retire(), XrdOfsHanCB::Retired(), XrdOfsHanXpr::Set(), StartXpr(), XrdSysMutex::UnLock(), UnLock(), XrdOfsHanKey::Val, XrdOfsHanPsc::xprP, and XrdOfsHanXpr.
| int XrdOfsHandle::StartXpr |
( |
int |
Init = 0 | ) |
|
|
static |
References XrdOfsHanXpr::Call, XrdSysError::Emsg(), XrdOfsHanXpr::Get(), XrdOfsHanXpr::Handle, XrdOfsHanKey::Links, XrdSysMutex::Lock(), myMutex, Path, Posc, Retire(), XrdOfsHanCB::Retired(), XrdSysThread::Run(), XrdSysMutex::UnLock(), UnLock(), XrdOfsHanKey::Val, XrdOfsHanPsc::xprP, and XrdOfsHanXpire().
Referenced by Retire(), and XrdOfsHanXpire().
| void XrdOfsHandle::UnLock |
( |
| ) |
|
|
inline |
| int XrdOfsHandle::Usage |
( |
| ) |
|
|
inline |
| int XrdOfsHandle::WaitLock |
( |
void |
| ) |
|
|
private |
Friends And Related Function Documentation
Member Data Documentation
| char XrdOfsHandle::isChanged |
| char XrdOfsHandle::isCompressed |
| char XrdOfsHandle::isPending |
| const int XrdOfsHandle::LockTries = 3 |
|
staticprivate |
| const int XrdOfsHandle::LockWait = 333 |
|
staticprivate |
| const int XrdOfsHandle::nolokDelay = 3 |
|
staticprivate |
| const int XrdOfsHandle::nomemDelay = 15 |
|
staticprivate |
| const int XrdOfsHandle::opPC = 3 |
|
static |
| const int XrdOfsHandle::opRW = 1 |
|
static |
Referenced by XrdOfsHanTab::Add(), Alloc(), XrdOfsHanTab::Expand(), XrdOfsHanTab::Find(), XrdOfsHanXpr::Get(), Hide(), Name(), PoscGet(), PoscSet(), XrdOfsHanTab::Remove(), Retire(), StartXpr(), and Usage().
The documentation for this class was generated from the following files: