|
xrootd
|
#include <XrdCmsRRQ.hh>

Classes | |
| struct | Info |
Public Member Functions | |
| short | Add (short Snum, XrdCmsRRQInfo *ip) |
| void | Del (short Snum, const void *Key) |
| int | Init (int Tint=0, int Tdly=0) |
| int | Ready (int Snum, const void *Key, SMask_t mask1, SMask_t mask2) |
| void * | Respond () |
| void | Statistics (Info &Data) |
| void * | TimeOut () |
| XrdCmsRRQ () | |
| ~XrdCmsRRQ () | |
Private Member Functions | |
| void | sendLocResp (XrdCmsRRQSlot *lP) |
| void | sendLwtResp (XrdCmsRRQSlot *rP) |
| void | sendRedResp (XrdCmsRRQSlot *rP) |
Private Attributes | |
| XrdSysMutex | myMutex |
| XrdSysSemaphore | isWaiting |
| XrdSysSemaphore | isReady |
| XrdCmsRRQSlot | Slot [numSlots] |
| XrdOucDLlist< XrdCmsRRQSlot > | waitQ |
| XrdOucDLlist< XrdCmsRRQSlot > | readyQ |
| struct iovec | data_iov [iov_cnt] |
| struct iovec | redr_iov [iov_cnt] |
| XrdCms::CmsResponse | dataResp |
| XrdCms::CmsResponse | redrResp |
| XrdCms::CmsResponse | waitResp |
| union { | |
| char hostbuff [288] | |
| char databuff [XrdCms::CmsLocateRequest::RILen *STMax] | |
| }; | |
| Info | Stats |
| int | luFast |
| int | luSlow |
| int | rdFast |
| int | rdSlow |
| int | Tslice |
| int | Tdelay |
| unsigned int | myClock |
Static Private Attributes | |
| static const int | numSlots = 1024 |
| static const int | iov_cnt = 2 |
|
inline |
|
inline |
| short XrdCmsRRQ::Add | ( | short | Snum, |
| XrdCmsRRQInfo * | ip | ||
| ) |
References XrdCmsRRQSlot::Alloc(), XrdCmsRRQSlot::Cont, XrdCmsRRQSlot::Expire, XrdCmsRRQInfo::isLU, XrdCmsRRQInfo::Key, XrdCmsRRQSlot::Link, XrdCmsRRQSlot::LkUp, and XrdCmsRRQSlot::slotNum.
Referenced by XrdCmsCache::Add2Q().
| void XrdCmsRRQ::Del | ( | short | Snum, |
| const void * | Key | ||
| ) |
Referenced by XrdCmsCache::Recycle().
| int XrdCmsRRQ::Init | ( | int | Tint = 0, |
| int | Tdly = 0 |
||
| ) |
References XrdSysError::Emsg(), XrdCms::kYR_data, XrdCms::kYR_redirect, XrdCms::kYR_wait, XrdSysThread::Run(), XrdCms::Say, XrdCmsRRQ_StartRespond(), and XrdCmsRRQ_StartTimeOut().
Referenced by XrdCmsConfig::setupManager().
| void * XrdCmsRRQ::Respond | ( | ) |
|
private |
References XrdCmsRRQSlot::Arg1, XrdCmsRRQSlot::Arg2, XrdCms::Cluster, XrdCmsNode::do_LocFmt(), XrdCmsRTable::Find(), XrdCmsRRQInfo::ID, XrdCmsRRQSlot::Info, XrdCmsCluster::List(), XrdCmsRRQSlot::LkUp, XrdCmsRTable::Lock(), XrdCmsCluster::LS_IPO, XrdCmsRRQInfo::Rinst, XrdCmsRRQInfo::Rnum, XrdCms::RTable, XrdCmsRRQInfo::rwVec, XrdCmsNode::Send(), and XrdCmsRTable::UnLock().
|
private |
|
private |
References XrdCmsRRQInfo::actR, XrdCmsRRQSlot::Arg1, XrdCms::Cluster, XrdCmsRRQSlot::Cont, XrdCmsRTable::Find(), XrdCmsRRQInfo::ID, XrdCmsRRQSlot::Info, XrdCmsRRQInfo::isRW, XrdCmsRTable::Lock(), XrdMonCtrCollector::port, XrdCmsRRQInfo::Rinst, XrdCmsRRQInfo::Rnum, XrdCms::RTable, XrdCmsCluster::Select(), XrdCmsNode::Send(), and XrdCmsRTable::UnLock().
|
inline |
References XrdSysMutex::Lock(), myMutex, Stats, and XrdSysMutex::UnLock().
Referenced by XrdCmsCluster::Statt().
| void * XrdCmsRRQ::TimeOut | ( | ) |
References XrdCmsRRQSlot::Expire, XrdCmsRRQSlot::Link, XrdOucDLlist< T >::Remove(), and XrdSysTimer::Wait().
Referenced by XrdCmsRRQ_StartTimeOut().
| union { ... } |
|
private |
| char XrdCmsRRQ::databuff[XrdCms::CmsLocateRequest::RILen *STMax] |
|
private |
| char XrdCmsRRQ::hostbuff[288] |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by Statistics().
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by Statistics().
|
private |
|
private |
|
private |
|
private |
1.8.3.1