Constructor.
Constructor with correct service name. The state machine using this object should give it its own name as a parameter
- Parameters
-
serverName | the name of the server which created this object |
Definition at line 26 of file DimWriteStatistics.cc.
References fThread, and UpdateService().
Referenced by GetFileSizeOnDisk().
29 "Statistics about size written" 30 "|FreeSpace[bytes]:Free space on disk" 31 "|Written[bytes]:Bytes written in total" 32 "|Rate[bytes]:Bytes written since last update" 33 "|Elapsed[ms]:Milliseconds elapsed since last update"),
uint16_t fUpdateInterval
Current folder being watched for free space.
DimDescribedService fDimService
void UpdateService()
Main loop.
boost::thread fThread
The boost thread used to update the service.
std::string fCurrentFolder
bool fDebug
List of all opened files. set is used to easily check for entries.
size_t fBaseSize
Duration, in millisecond between two service updates. 0 means no more updates.