#include <XrdCmsPrepare.hh>
| XrdCmsPrepare::XrdCmsPrepare |
( |
| ) |
|
References lastemsg, N2N, NumFiles, PrepFrm, prepif, prepOK, preppid, Relay, resetcnt, Say, scrub2rst, and scrubtime.
| XrdCmsPrepare::~XrdCmsPrepare |
( |
| ) |
|
|
inline |
References XrdFrcProxy::Add(), XrdOucHash< T >::Add(), Hash_data_is_key, XrdCmsPrepArgs::Ident, Info, XrdOucStream::isAlive(), XrdSysMutex::Lock(), XrdOucMsubs::maxElem, XrdCmsPrepArgs::mode, N2N, XrdCmsPrepArgs::notify, NumFiles, XrdCmsPrepArgs::opaque, XrdCmsPrepArgs::path, PrepFrm, prepif, prepMsg, prepSched, XrdCmsPrepArgs::prty, PTable, PTMutex, XrdOucStream::Put(), XrdCmsPrepArgs::reqid, Say, XrdOucMsubs::Subs(), and XrdSysMutex::UnLock().
Referenced by Prepare().
| int XrdCmsPrepare::Del |
( |
char * |
reqid | ) |
|
| void XrdCmsPrepare::DoIt |
( |
| ) |
|
|
virtual |
| int XrdCmsPrepare::Exists |
( |
char * |
path | ) |
|
| void XrdCmsPrepare::Gone |
( |
char * |
path | ) |
|
| void XrdCmsPrepare::Inform |
( |
const char * |
cmd, |
|
|
XrdCmsPrepArgs * |
pargs |
|
) |
| |
References DEBUG, EPNAME, XrdCmsPrepArgs::Ident, XrdCmsPrepArgs::mode, XrdCmsPrepArgs::notify, XrdCmsPrepArgs::path, XrdCmsPrepArgs::pathlen, Relay, XrdCmsPrepArgs::reqid, and XrdNetMsg::Send().
Referenced by XrdCmsNode::do_SelPrep(), and Prepare().
| int XrdCmsPrepare::isOK |
( |
| ) |
|
|
inline |
| int XrdCmsPrepare::isOnline |
( |
char * |
path | ) |
|
|
private |
| int XrdCmsPrepare::Pending |
( |
| ) |
|
|
inline |
References Add(), XrdCopy::Config, DEBUG, EPNAME, XrdCmsPrepArgs::Ident, Inform(), isOnline(), XrdCmsPrepArgs::mode, XrdCmsPrepArgs::notify, XrdCmsPrepArgs::path, XrdCmsPrepArgs::prty, XrdCmsPrepArgs::reqid, and Say.
Referenced by XrdCmsPrepArgs::Process().
| void XrdCmsPrepare::Reset |
( |
const char * |
iName, |
|
|
const char * |
aPath, |
|
|
int |
aMode |
|
) |
| |
References DEBUG, EPNAME, XrdFrcProxy::Init(), XrdFrcProxy::opStg, PrepFrm, prepif, prepOK, Reset(), Say, XrdCms::Sched, XrdScheduler::Schedule(), and scrubtime.
Referenced by XrdCmsConfig::setupServer().
| void XrdCmsPrepare::Reset |
( |
| ) |
|
|
private |
References XrdOucHash< T >::Add(), doEcho, XrdOucStream::Drain(), XrdOucStream::GetLine(), Hash_data_is_key, XrdOucStream::isAlive(), XrdOucStream::LastError(), XrdFrcProxy::List(), NumFiles, XrdFrcProxy::opStg, PrepFrm, prepif, prepOK, prepSched, PTable, XrdOucHash< T >::Purge(), XrdOucStream::Put(), Say, and startIF().
Referenced by Reset(), and Scrub().
| void XrdCmsPrepare::Scrub |
( |
| ) |
|
|
private |
References XrdOucHash< T >::Apply(), XrdOucStream::isAlive(), XrdSysMutex::Lock(), PrepFrm, prepSched, PTable, PTMutex, Reset(), resetcnt, scrub2rst, startIF(), XrdSysMutex::UnLock(), and XrdCmsScrubScan().
Referenced by DoIt().
| int XrdCmsPrepare::setParms |
( |
int |
rcnt, |
|
|
int |
stime, |
|
|
int |
deco = 0 |
|
) |
| |
| int XrdCmsPrepare::setParms |
( |
const char * |
ifpgm, |
|
|
char * |
ifmsg = 0 |
|
) |
| |
| int XrdCmsPrepare::startIF |
( |
| ) |
|
|
private |
References DEBUG, EPNAME, XrdOucStream::Exec(), lastemsg, XrdOucStream::LastError(), PrepFrm, prepif, prepOK, prepSched, and Say.
Referenced by Reset(), and Scrub().
| int XrdCmsPrepare::doEcho |
|
private |
| time_t XrdCmsPrepare::lastemsg |
|
private |
| int XrdCmsPrepare::NumFiles |
|
private |
| char* XrdCmsPrepare::prepif |
|
private |
| int XrdCmsPrepare::prepOK |
|
private |
| pid_t XrdCmsPrepare::preppid |
|
private |
| int XrdCmsPrepare::resetcnt |
|
private |
| int XrdCmsPrepare::scrub2rst |
|
private |
| int XrdCmsPrepare::scrubtime |
|
private |
The documentation for this class was generated from the following files: