#include <Configuration.h>
Public Types | |
typedef std::vector< std::string > | OtherDiskPaths |
Public Attributes | |
bool | checkAdler32_ |
std::string | dbFilePath_ |
double | failHighWaterMark_ |
std::string | faultyEventsStream_ |
utils::Duration_t | fileClosingTestInterval_ |
std::string | fileName_ |
std::string | filePath_ |
double | fileSizeTolerance_ |
double | highWaterMark_ |
std::string | hostName_ |
int | initialSafetyLevel_ |
utils::Duration_t | lumiSectionTimeOut_ |
int | maxFileSizeMB_ |
int | nLogicalDisk_ |
OtherDiskPaths | otherDiskPaths_ |
std::string | setupLabel_ |
std::string | smInstanceString_ |
std::string | streamConfiguration_ |
Data structure to hold configuration parameters that are relevant for writing data to disk.
Definition at line 30 of file Configuration.h.
typedef std::vector<std::string> stor::DiskWritingParams::OtherDiskPaths |
Definition at line 47 of file Configuration.h.
bool stor::DiskWritingParams::checkAdler32_ |
Definition at line 45 of file Configuration.h.
Referenced by stor::FileHandler::checkAdler32(), stor::Configuration::setDiskWritingDefaults(), stor::Configuration::setupDiskWritingInfoSpaceParams(), and stor::Configuration::updateLocalDiskWritingData().
std::string stor::DiskWritingParams::dbFilePath_ |
Definition at line 35 of file Configuration.h.
Referenced by stor::ResourceMonitorCollection::configureDisks(), stor::Configuration::setDiskWritingDefaults(), stor::Configuration::setupDiskWritingInfoSpaceParams(), and stor::Configuration::updateLocalDiskWritingData().
double stor::DiskWritingParams::failHighWaterMark_ |
Definition at line 40 of file Configuration.h.
Referenced by stor::ResourceMonitorCollection::emitDiskSpaceAlarm(), stor::Configuration::setDiskWritingDefaults(), stor::Configuration::setupDiskWritingInfoSpaceParams(), and stor::Configuration::updateLocalDiskWritingData().
std::string stor::DiskWritingParams::faultyEventsStream_ |
Definition at line 44 of file Configuration.h.
Referenced by stor::DiskWriter::makeFaultyEventStream(), stor::Configuration::setDiskWritingDefaults(), stor::Configuration::setupDiskWritingInfoSpaceParams(), and stor::Configuration::updateLocalDiskWritingData().
utils::Duration_t stor::DiskWritingParams::fileClosingTestInterval_ |
Definition at line 42 of file Configuration.h.
Referenced by stor::DiskWriter::checkForFileTimeOuts(), stor::Configuration::setDiskWritingDefaults(), stor::Configuration::setupDiskWritingInfoSpaceParams(), and stor::Configuration::updateLocalDiskWritingData().
std::string stor::DiskWritingParams::fileName_ |
Definition at line 33 of file Configuration.h.
Referenced by stor::Configuration::setDiskWritingDefaults(), stor::Configuration::setupDiskWritingInfoSpaceParams(), and stor::Configuration::updateLocalDiskWritingData().
std::string stor::DiskWritingParams::filePath_ |
Definition at line 34 of file Configuration.h.
Referenced by stor::FileHandler::checkDirectories(), stor::ResourceMonitorCollection::configureDisks(), stor::Configuration::setDiskWritingDefaults(), stor::Configuration::setupDiskWritingInfoSpaceParams(), and stor::Configuration::updateLocalDiskWritingData().
double stor::DiskWritingParams::fileSizeTolerance_ |
Definition at line 43 of file Configuration.h.
Referenced by stor::Configuration::setDiskWritingDefaults(), stor::Configuration::setupDiskWritingInfoSpaceParams(), stor::FileHandler::sizeMismatch(), and stor::Configuration::updateLocalDiskWritingData().
double stor::DiskWritingParams::highWaterMark_ |
Definition at line 39 of file Configuration.h.
Referenced by stor::ResourceMonitorCollection::retrieveDiskSize(), stor::Configuration::setDiskWritingDefaults(), stor::Configuration::setupDiskWritingInfoSpaceParams(), and stor::Configuration::updateLocalDiskWritingData().
std::string stor::DiskWritingParams::hostName_ |
Definition at line 52 of file Configuration.h.
Referenced by stor::FileHandler::insertFileInDatabase(), stor::Configuration::setDiskWritingDefaults(), and stor::FileHandler::updateDatabase().
int stor::DiskWritingParams::initialSafetyLevel_ |
Definition at line 53 of file Configuration.h.
Referenced by stor::FileHandler::insertFileInDatabase(), stor::Configuration::setDiskWritingDefaults(), and stor::FileHandler::updateDatabase().
utils::Duration_t stor::DiskWritingParams::lumiSectionTimeOut_ |
Definition at line 41 of file Configuration.h.
Referenced by stor::Configuration::setDiskWritingDefaults(), stor::Configuration::setupDiskWritingInfoSpaceParams(), stor::FileHandler::tooOld(), and stor::Configuration::updateLocalDiskWritingData().
int stor::DiskWritingParams::maxFileSizeMB_ |
Definition at line 38 of file Configuration.h.
Referenced by stor::StreamHandler::getMaxFileSize(), stor::Configuration::setDiskWritingDefaults(), stor::Configuration::setupDiskWritingInfoSpaceParams(), and stor::Configuration::updateLocalDiskWritingData().
int stor::DiskWritingParams::nLogicalDisk_ |
Definition at line 37 of file Configuration.h.
Referenced by stor::ResourceMonitorCollection::configureDisks(), stor::Configuration::setDiskWritingDefaults(), stor::Configuration::setupDiskWritingInfoSpaceParams(), and stor::Configuration::updateLocalDiskWritingData().
OtherDiskPaths stor::DiskWritingParams::otherDiskPaths_ |
Definition at line 48 of file Configuration.h.
Referenced by stor::ResourceMonitorCollection::addOtherDisks(), stor::ResourceMonitorCollection::configureDisks(), stor::ResourceMonitorCollection::isImportantDisk(), stor::Configuration::setDiskWritingDefaults(), stor::Configuration::setupDiskWritingInfoSpaceParams(), and stor::Configuration::updateLocalDiskWritingData().
std::string stor::DiskWritingParams::setupLabel_ |
std::string stor::DiskWritingParams::smInstanceString_ |
Definition at line 51 of file Configuration.h.
Referenced by stor::FileHandler::insertFileInDatabase(), stor::Configuration::setDiskWritingDefaults(), and stor::FileHandler::updateDatabase().
std::string stor::DiskWritingParams::streamConfiguration_ |
Definition at line 32 of file Configuration.h.
Referenced by stor::SMWebPageHelper::addDOMforConfigString(), stor::Ready::do_entryActionWork(), stor::Configuration::setDiskWritingDefaults(), stor::Configuration::setupDiskWritingInfoSpaceParams(), and stor::Configuration::updateLocalDiskWritingData().