#include <TProofPEAC.h>
Inheritance diagram for TProofPEAC:
Public Member Functions | |
TProofPEAC (const char *masterurl, const char *sessionid=0, const char *confdir=0, Int_t loglevel=0, const char *alias=0, TProofMgr *mgr=0) | |
virtual | ~TProofPEAC () |
virtual Bool_t | IsDataReady (Long64_t &totalbytes, Long64_t &bytesready) |
virtual void | SendHeartbeat () |
virtual void | SetActive (Bool_t active=kTRUE) |
virtual void | Close (Option_t *option="") |
TProofPEAC (const char *masterurl, const char *sessionid=0, const char *confdir=0, Int_t loglevel=0, const char *alias=0, TProofMgr *mgr=0) | |
virtual | ~TProofPEAC () |
virtual Bool_t | IsDataReady (Long64_t &totalbytes, Long64_t &bytesready) |
virtual void | SendHeartbeat () |
virtual void | SetActive (Bool_t active=kTRUE) |
virtual void | Close (Option_t *option="") |
Protected Member Functions | |
virtual Bool_t | StartSlaves (Bool_t parallel=kTRUE, Bool_t attach=kFALSE) |
TString | GetJobAd () |
virtual Bool_t | StartSlaves (Bool_t parallel=kTRUE, Bool_t attach=kFALSE) |
TString | GetJobAd () |
Private Attributes | |
TString | fSession |
TLM * | fLM |
Int_t | fHBPeriod |
TCondor * | fCondor |
TTimer * | fTimer |
TTimer * | fHeartbeatTimer |
TLM * | fLM |
TCondor * | fCondor |
TTimer * | fTimer |
TTimer * | fHeartbeatTimer |
Friends | |
class | TCondor |
Definition at line 35 of file TProofPEAC.h.
TProofPEAC::TProofPEAC | ( | const char * | masterurl, | |
const char * | sessionid = 0 , |
|||
const char * | confdir = 0 , |
|||
Int_t | loglevel = 0 , |
|||
const char * | alias = 0 , |
|||
TProofMgr * | mgr = 0 | |||
) |
Referenced by G__G__Peac_268_0_3().
TProofPEAC::~TProofPEAC | ( | ) | [virtual] |
Definition at line 58 of file TProofPEAC.cxx.
References TLM::EndSession(), fCondor, fHeartbeatTimer, fLM, fSession, and fTimer.
TProofPEAC::TProofPEAC | ( | const char * | masterurl, | |
const char * | sessionid = 0 , |
|||
const char * | confdir = 0 , |
|||
Int_t | loglevel = 0 , |
|||
const char * | alias = 0 , |
|||
TProofMgr * | mgr = 0 | |||
) |
virtual TProofPEAC::~TProofPEAC | ( | ) | [virtual] |
Bool_t TProofPEAC::StartSlaves | ( | Bool_t | parallel = kTRUE , |
|
Bool_t | attach = kFALSE | |||
) | [protected, virtual] |
Definition at line 75 of file TProofPEAC.cxx.
References TMonitor::Add(), TList::Add(), c, TCondor::Claim(), TQObject::Connect(), TClarens::CreateLM(), TProof::CreateSlave(), TString::Data(), TObject::Error(), TProof::fAllMonitor, TProof::fBadSlaves, fCondor, TProof::fConfFile, fHBPeriod, fHeartbeatTimer, TCondorSlave::fHostname, TProof::fImage, TCondorSlave::fImage, fLM, Form(), TCondorSlave::fPerfIdx, TCondorSlave::fPort, fSession, TProof::fSlaves, gClarens, gEnv, TUrl::GetHost(), TSystem::GetHostByName(), TInetAddress::GetHostName(), TCondor::GetImage(), GetJobAd(), TProofServ::GetOrdinal(), TUrl::GetPort(), TSlave::GetSocket(), TEnv::GetValue(), gProofServ, gSystem, TSystem::HostName(), TObject::Info(), TClarens::Init(), TProof::IsMaster(), TSlave::IsValid(), TInetAddress::IsValid(), kFALSE, kPROOF_WorkDir, kTRUE, TString::Length(), ord, PDB, TLM::StartSession(), and TProof::StartSlaves().
TString TProofPEAC::GetJobAd | ( | ) | [protected] |
Definition at line 242 of file TProofPEAC.cxx.
References Form(), TProof::GetConfDir(), and TProof::GetLogLevel().
Referenced by StartSlaves().
Reimplemented from TProof.
Definition at line 258 of file TProofPEAC.cxx.
References TLM::DataReady(), fLM, fSession, TProof::IsDataReady(), TProof::IsMaster(), and kFALSE.
void TProofPEAC::SendHeartbeat | ( | ) | [virtual] |
Definition at line 278 of file TProofPEAC.cxx.
References fLM, fSession, and TLM::Heartbeat().
Referenced by G__G__Peac_268_0_5().
Reimplemented from TProof.
Definition at line 219 of file TProofPEAC.cxx.
References TQObject::Connect(), fCondor, fTimer, TCondor::GetState(), TObject::Info(), TCondor::kSuspended, kTRUE, PDB, TCondor::Resume(), TTimer::Start(), and TTimer::Stop().
void TProofPEAC::Close | ( | Option_t * | option = "" |
) | [virtual] |
Reimplemented from TProof.
Definition at line 203 of file TProofPEAC.cxx.
References TProof::Close(), TLM::EndSession(), fHeartbeatTimer, fLM, and fSession.
virtual Bool_t TProofPEAC::StartSlaves | ( | Bool_t | parallel = kTRUE , |
|
Bool_t | attach = kFALSE | |||
) | [protected, virtual] |
TString TProofPEAC::GetJobAd | ( | ) | [protected] |
Reimplemented from TProof.
virtual void TProofPEAC::SendHeartbeat | ( | ) | [virtual] |
TCondor [friend] |
Definition at line 37 of file TProofPEAC.h.
TString TProofPEAC::fSession [private] |
Definition at line 40 of file TProofPEAC.h.
Referenced by Close(), IsDataReady(), SendHeartbeat(), StartSlaves(), and ~TProofPEAC().
TLM* TProofPEAC::fLM [private] |
Definition at line 41 of file TProofPEAC.h.
Referenced by Close(), IsDataReady(), SendHeartbeat(), StartSlaves(), and ~TProofPEAC().
Int_t TProofPEAC::fHBPeriod [private] |
TCondor* TProofPEAC::fCondor [private] |
Definition at line 43 of file TProofPEAC.h.
Referenced by SetActive(), StartSlaves(), and ~TProofPEAC().
TTimer* TProofPEAC::fTimer [private] |
TTimer* TProofPEAC::fHeartbeatTimer [private] |
Definition at line 45 of file TProofPEAC.h.
Referenced by Close(), StartSlaves(), and ~TProofPEAC().
TLM* TProofPEAC::fLM [private] |
Definition at line 41 of file TProofPEAC.h.
TCondor* TProofPEAC::fCondor [private] |
Definition at line 43 of file TProofPEAC.h.
TTimer* TProofPEAC::fTimer [private] |
Definition at line 44 of file TProofPEAC.h.
TTimer* TProofPEAC::fHeartbeatTimer [private] |
Definition at line 45 of file TProofPEAC.h.