![]() |
![]() |
#include <EventFilter/StorageManager/interface/Parameter.h>
Public Member Functions | |
bool | exactFileSizeTest () const |
const std::string & | fileCatalog () const |
const std::string & | fileName () const |
const std::string & | filePath () const |
double | highWaterMark () const |
const std::string & | host () const |
void | initialSafetyLevel (int i) |
int | initialSafetyLevel () const |
double | lumiSectionTimeOut () const |
int | maxFileSize () const |
Parameter () | |
void | setExactFileSizeTest (bool x) |
void | setFileCatalog (std::string x) |
void | setfileName (std::string x) |
void | setfilePath (std::string x) |
void | sethighWaterMark (double x) |
void | setlumiSectionTimeOut (double x) |
void | setmaxFileSize (int x) |
void | setsetupLabel (std::string x) |
void | setSmInstance (std::string x) |
const std::string & | setupLabel () const |
const std::string & | smInstance () const |
Private Attributes | |
bool | exactFileSizeTest_ |
std::string | fileCatalog_ |
std::string | fileName_ |
std::string | filePath_ |
double | highWaterMark_ |
std::string | hostName_ |
int | initialSafetyLevel_ |
double | lumiSectionTimeOut_ |
int | maxFileSize_ |
std::string | setupLabel_ |
std::string | smInstance_ |
Definition at line 15 of file Parameter.h.
stor::Parameter::Parameter | ( | ) | [inline] |
Definition at line 18 of file Parameter.h.
References hostName_.
00018 : 00019 fileCatalog_("summaryCatalog.txt"), 00020 smInstance_("0"), 00021 hostName_(toolbox::net::getHostName()), 00022 initialSafetyLevel_(0), 00023 fileName_("storageManager"), 00024 filePath_("/scratch2/cheung"), 00025 setupLabel_("mtcc"), 00026 maxFileSize_(-1), 00027 highWaterMark_(0.9), 00028 lumiSectionTimeOut_(45.0), 00029 exactFileSizeTest_(false) 00030 { 00031 // strip domainame 00032 std::string::size_type pos = hostName_.find('.'); 00033 if ( pos != std::string::npos ) { 00034 std::string basename = hostName_.substr(0,pos); 00035 hostName_ = basename; 00036 } 00037 }
bool stor::Parameter::exactFileSizeTest | ( | ) | const [inline] |
Definition at line 48 of file Parameter.h.
References exactFileSizeTest_.
00048 {return exactFileSizeTest_;}
const std::string& stor::Parameter::fileCatalog | ( | ) | const [inline] |
const std::string& stor::Parameter::fileName | ( | ) | const [inline] |
const std::string& stor::Parameter::filePath | ( | ) | const [inline] |
double stor::Parameter::highWaterMark | ( | ) | const [inline] |
Definition at line 46 of file Parameter.h.
References highWaterMark_.
00046 {return highWaterMark_;}
const std::string& stor::Parameter::host | ( | ) | const [inline] |
Definition at line 61 of file Parameter.h.
References initialSafetyLevel_.
00061 {initialSafetyLevel_=i;}
int stor::Parameter::initialSafetyLevel | ( | ) | const [inline] |
Definition at line 49 of file Parameter.h.
References initialSafetyLevel_.
00049 {return initialSafetyLevel_;}
double stor::Parameter::lumiSectionTimeOut | ( | ) | const [inline] |
Definition at line 47 of file Parameter.h.
References lumiSectionTimeOut_.
00047 {return lumiSectionTimeOut_;}
int stor::Parameter::maxFileSize | ( | ) | const [inline] |
Definition at line 60 of file Parameter.h.
References exactFileSizeTest_.
00060 {exactFileSizeTest_=x;}
void stor::Parameter::setFileCatalog | ( | std::string | x | ) | [inline] |
void stor::Parameter::setfileName | ( | std::string | x | ) | [inline] |
void stor::Parameter::setfilePath | ( | std::string | x | ) | [inline] |
void stor::Parameter::sethighWaterMark | ( | double | x | ) | [inline] |
void stor::Parameter::setlumiSectionTimeOut | ( | double | x | ) | [inline] |
Definition at line 59 of file Parameter.h.
References lumiSectionTimeOut_.
00059 {lumiSectionTimeOut_=x;}
void stor::Parameter::setsetupLabel | ( | std::string | x | ) | [inline] |
void stor::Parameter::setSmInstance | ( | std::string | x | ) | [inline] |
const std::string& stor::Parameter::setupLabel | ( | ) | const [inline] |
const std::string& stor::Parameter::smInstance | ( | ) | const [inline] |
bool stor::Parameter::exactFileSizeTest_ [private] |
Definition at line 74 of file Parameter.h.
Referenced by exactFileSizeTest(), and setExactFileSizeTest().
std::string stor::Parameter::fileCatalog_ [private] |
std::string stor::Parameter::fileName_ [private] |
std::string stor::Parameter::filePath_ [private] |
double stor::Parameter::highWaterMark_ [private] |
std::string stor::Parameter::hostName_ [private] |
int stor::Parameter::initialSafetyLevel_ [private] |
double stor::Parameter::lumiSectionTimeOut_ [private] |
Definition at line 73 of file Parameter.h.
Referenced by lumiSectionTimeOut(), and setlumiSectionTimeOut().
int stor::Parameter::maxFileSize_ [private] |
std::string stor::Parameter::setupLabel_ [private] |
std::string stor::Parameter::smInstance_ [private] |