#include <XrdCmsState.hh>
|
| unsigned char | Status (int Changes, int theState) |
| |
| Enumerator |
|---|
| Active |
|
| Counts |
|
| FrontEnd |
|
| Space |
|
| Stage |
|
| XrdCmsState::XrdCmsState |
( |
| ) |
|
References adminNoStage, adminSuspend, All_NoStage, All_Suspend, currState, dataPort, Enabled, feOK, isMan, minNodeCnt, noSpace, NoStageFile, NoStaging, numActive, numStaging, prevState, Suspended, and SuspendFile.
| XrdCmsState::~XrdCmsState |
( |
| ) |
|
|
inline |
| void XrdCmsState::Enable |
( |
| ) |
|
References Active, currState, Enabled, XrdSysMutex::Lock(), myMutex, mySemaphore, NoStageFile, XrdSysSemaphore::Post(), prevState, Stage, stat(), SuspendFile, XrdSysMutex::UnLock(), and Update().
Referenced by XrdCmsConfig::DoIt().
| void * XrdCmsState::Monitor |
( |
| ) |
|
References currState, dataPort, XrdCms::CmsStatusRequest::Hdr, XrdCmsManager::Inform(), isMan, XrdCms::kYR_status, XrdSysMutex::Lock(), XrdCms::Manager, XrdCms::CmsRRHdr::modifier, myMutex, mySemaphore, prevState, XrdCms::RTable, XrdCmsRTable::Send(), SRV_Suspend, Status(), XrdCms::CmsRRHdr::streamid, XrdSysMutex::UnLock(), and XrdSysSemaphore::Wait().
Referenced by XrdCmsStartMonStat().
| int XrdCmsState::Port |
( |
| ) |
|
| void XrdCmsState::sendState |
( |
XrdLink * |
Link | ) |
|
| void XrdCmsState::Set |
( |
int |
ncount | ) |
|
| void XrdCmsState::Set |
( |
int |
ncount, |
|
|
int |
isman, |
|
|
const char * |
AdminPath |
|
) |
| |
| unsigned char XrdCmsState::Status |
( |
int |
Changes, |
|
|
int |
theState |
|
) |
| |
|
private |
| void XrdCmsState::Update |
( |
StateType |
StateT, |
|
|
int |
ActivVal, |
|
|
int |
StageVal = 0 |
|
) |
| |
References Active, adminNoStage, adminSuspend, All_NoStage, All_Suspend, close(), Counts, currState, dataPort, DEBUG, Enabled, EPNAME, feOK, FES_Suspend, FrontEnd, XrdSysMutex::Lock(), minNodeCnt, myMutex, mySemaphore, noSpace, NoStageFile, NoStaging, numActive, numStaging, open(), XrdSysSemaphore::Post(), prevState, Say, Space, SRV_Suspend, Stage, Suspended, SuspendFile, unlink(), and XrdSysMutex::UnLock().
Referenced by XrdCmsCluster::Add(), XrdCmsAdmin::BegAds(), XrdCmsAdmin::Con2Ads(), XrdCmsConfig::Configure2(), XrdCmsAdmin::do_Login(), XrdCmsNode::do_Status(), XrdCmsConfig::DoIt(), Enable(), XrdCmsMeter::Init(), XrdCmsAdmin::Login(), XrdCmsConfig::MergeP(), XrdCmsAdmin::MonAds(), XrdCmsAdmin::Notes(), XrdCmsCluster::Remove(), and XrdCmsMeter::RunFS().
| char XrdCmsState::adminNoStage |
|
private |
| char XrdCmsState::adminSuspend |
|
private |
| const char XrdCmsState::All_NoStage = 4 |
|
static |
| const char XrdCmsState::All_Suspend = 3 |
|
static |
| char XrdCmsState::currState |
|
private |
| int XrdCmsState::dataPort |
|
private |
| char XrdCmsState::Enabled |
|
private |
| const char XrdCmsState::FES_Suspend = 2 |
|
static |
| int XrdCmsState::minNodeCnt |
|
private |
| char XrdCmsState::noSpace |
|
private |
| const char* XrdCmsState::NoStageFile |
|
private |
| int XrdCmsState::NoStaging |
| int XrdCmsState::numActive |
|
private |
| int XrdCmsState::numStaging |
|
private |
| char XrdCmsState::prevState |
|
private |
| const char XrdCmsState::SRV_Suspend = 1 |
|
static |
| int XrdCmsState::Suspended |
| const char* XrdCmsState::SuspendFile |
|
private |
The documentation for this class was generated from the following files: