CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes
stor::DiskWriter Class Reference

#include <DiskWriter.h>

Inheritance diagram for stor::DiskWriter:

Public Member Functions

 DiskWriter (xdaq::Application *, SharedResourcesPtr sr)
 
void startWorkLoop (std::string workloopName)
 
bool writeAction (toolbox::task::WorkLoop *)
 
 ~DiskWriter ()
 

Private Types

typedef boost::shared_ptr
< StreamHandler
StreamHandlerPtr
 
typedef std::vector
< StreamHandlerPtr
StreamHandlers
 

Private Member Functions

void checkForFileTimeOuts (const bool doItNow=false)
 
void checkStreamChangeRequest ()
 
void closeTimedOutFiles (const utils::TimePoint_t)
 
void configureErrorStreams (ErrStrConfigListPtr)
 
void configureEventStreams (EvtStrConfigListPtr)
 
void destroyStreams ()
 
 DiskWriter (DiskWriter const &)
 
void makeErrorStream (ErrorStreamConfigurationInfo &)
 
void makeEventStream (EventStreamConfigurationInfo &)
 
void makeFaultyEventStream ()
 
DiskWriteroperator= (DiskWriter const &)
 
void processEndOfLumiSection (const I2OChain &)
 
void reportRemainingLumiSections ()
 
void writeEndOfRunMarker ()
 
void writeEventToStreams (const I2OChain &)
 
void writeNextEvent ()
 

Private Attributes

bool actionIsActive_
 
xdaq::Application * app_
 
const DbFileHandlerPtr dbFileHandler_
 
DiskWritingParams dwParams_
 
StreamsMonitorCollection::EndOfRunReportPtr endOfRunReport_
 
utils::TimePoint_t lastFileTimeoutCheckTime_
 
unsigned int runNumber_
 
SharedResourcesPtr sharedResources_
 
StreamHandlers streamHandlers_
 
boost::posix_time::time_duration timeout_
 
toolbox::task::WorkLoop * writingWL_
 

Detailed Description

Writes events to disk

It gets the next event from the StreamQueue and writes it to the appropriate stream file(s) on disk.

Author:
mommsen
Revision:
1.14
Date:
2011/06/20 09:07:22

Definition at line 42 of file DiskWriter.h.

Member Typedef Documentation

typedef boost::shared_ptr<StreamHandler> stor::DiskWriter::StreamHandlerPtr
private

Definition at line 153 of file DiskWriter.h.

typedef std::vector<StreamHandlerPtr> stor::DiskWriter::StreamHandlers
private

Definition at line 154 of file DiskWriter.h.

Constructor & Destructor Documentation

stor::DiskWriter::DiskWriter ( xdaq::Application *  app,
SharedResourcesPtr  sr 
)

Definition at line 24 of file DiskWriter.cc.

References stor::WorkerThreadParams::DWdeqWaitTime_, sharedResources_, and timeout_.

24  :
25  app_(app),
26  sharedResources_(sr),
27  dbFileHandler_(new DbFileHandler()),
28  runNumber_(0),
30  endOfRunReport_(new StreamsMonitorCollection::EndOfRunReport()),
31  actionIsActive_(true)
32  {
33  WorkerThreadParams workerParams =
34  sharedResources_->configuration_->getWorkerThreadParams();
35  timeout_ = workerParams.DWdeqWaitTime_;
36  }
TimePoint_t getCurrentTime()
Definition: Utils.h:158
utils::TimePoint_t lastFileTimeoutCheckTime_
Definition: DiskWriter.h:151
SharedResourcesPtr sharedResources_
Definition: DiskWriter.h:145
unsigned int runNumber_
Definition: DiskWriter.h:149
boost::posix_time::time_duration timeout_
Definition: DiskWriter.h:150
const DbFileHandlerPtr dbFileHandler_
Definition: DiskWriter.h:147
xdaq::Application * app_
Definition: DiskWriter.h:144
StreamsMonitorCollection::EndOfRunReportPtr endOfRunReport_
Definition: DiskWriter.h:157
stor::DiskWriter::~DiskWriter ( )

Definition at line 39 of file DiskWriter.cc.

References actionIsActive_, destroyStreams(), and writingWL_.

40  {
41  // Stop the activity
42  actionIsActive_ = false;
43 
44  // Cancel the workloop (will wait until the action has finished)
45  writingWL_->cancel();
46 
47  // Destroy any remaining streams. Under normal conditions, there should be none
48  destroyStreams();
49  }
void destroyStreams()
Definition: DiskWriter.cc:280
toolbox::task::WorkLoop * writingWL_
Definition: DiskWriter.h:160
stor::DiskWriter::DiskWriter ( DiskWriter const &  )
private

Member Function Documentation

void stor::DiskWriter::checkForFileTimeOuts ( const bool  doItNow = false)
private

Close old files if fileClosingTestInterval has passed or do it now if argument is true

Definition at line 201 of file DiskWriter.cc.

References closeTimedOutFiles(), dwParams_, stor::DiskWritingParams::fileClosingTestInterval_, stor::utils::getCurrentTime(), lastFileTimeoutCheckTime_, and cmsPerfSuiteHarvest::now.

Referenced by writeNextEvent().

202  {
204 
206  {
207  closeTimedOutFiles(now);
209  }
210  }
TimePoint_t getCurrentTime()
Definition: Utils.h:158
utils::TimePoint_t lastFileTimeoutCheckTime_
Definition: DiskWriter.h:151
DiskWritingParams dwParams_
Definition: DiskWriter.h:146
boost::posix_time::ptime TimePoint_t
Definition: Utils.h:35
void closeTimedOutFiles(const utils::TimePoint_t)
Definition: DiskWriter.cc:213
utils::Duration_t fileClosingTestInterval_
Definition: Configuration.h:42
void stor::DiskWriter::checkStreamChangeRequest ( )
private

Reconfigure streams if a request is pending

Definition at line 173 of file DiskWriter.cc.

References configureErrorStreams(), configureEventStreams(), dbFileHandler_, destroyStreams(), dwParams_, makeFaultyEventStream(), runNumber_, sharedResources_, and timeout_.

Referenced by writeNextEvent().

174  {
175  EvtStrConfigListPtr evtCfgList;
176  ErrStrConfigListPtr errCfgList;
177  DiskWritingParams newdwParams;
178  unsigned int newRunNumber;
179  boost::posix_time::time_duration newTimeoutValue;
180  bool doConfig;
181  if (sharedResources_->diskWriterResources_->
182  streamChangeRequested(doConfig, evtCfgList, errCfgList, newdwParams, newRunNumber, newTimeoutValue))
183  {
184  destroyStreams();
185  if (doConfig)
186  {
187  dwParams_ = newdwParams;
188  runNumber_ = newRunNumber;
189  timeout_ = newTimeoutValue;
190  dbFileHandler_->configure(runNumber_, dwParams_);
191 
193  configureEventStreams(evtCfgList);
194  configureErrorStreams(errCfgList);
195  }
196  sharedResources_->diskWriterResources_->streamChangeDone();
197  }
198  }
boost::shared_ptr< ErrStrConfigList > ErrStrConfigListPtr
SharedResourcesPtr sharedResources_
Definition: DiskWriter.h:145
DiskWritingParams dwParams_
Definition: DiskWriter.h:146
boost::shared_ptr< EvtStrConfigList > EvtStrConfigListPtr
void configureEventStreams(EvtStrConfigListPtr)
Definition: DiskWriter.cc:220
void configureErrorStreams(ErrStrConfigListPtr)
Definition: DiskWriter.cc:235
unsigned int runNumber_
Definition: DiskWriter.h:149
boost::posix_time::time_duration timeout_
Definition: DiskWriter.h:150
void makeFaultyEventStream()
Definition: DiskWriter.cc:249
const DbFileHandlerPtr dbFileHandler_
Definition: DiskWriter.h:147
void destroyStreams()
Definition: DiskWriter.cc:280
void stor::DiskWriter::closeTimedOutFiles ( const utils::TimePoint_t  now)
private

Close all timed-out files

Definition at line 213 of file DiskWriter.cc.

References stor::StreamHandler::closeTimedOutFiles(), and streamHandlers_.

Referenced by checkForFileTimeOuts().

214  {
215  std::for_each(streamHandlers_.begin(), streamHandlers_.end(),
216  boost::bind(&StreamHandler::closeTimedOutFiles, _1, now));
217  }
void closeTimedOutFiles(utils::TimePoint_t currentTime=utils::getCurrentTime())
StreamHandlers streamHandlers_
Definition: DiskWriter.h:155
void stor::DiskWriter::configureErrorStreams ( ErrStrConfigListPtr  cfgList)
private

Configures the error streams to be written to disk

Definition at line 235 of file DiskWriter.cc.

References makeErrorStream().

Referenced by checkStreamChangeRequest().

236  {
237  for (
238  ErrStrConfigList::iterator it = cfgList->begin(),
239  itEnd = cfgList->end();
240  it != itEnd;
241  ++it
242  )
243  {
244  makeErrorStream(*it);
245  }
246  }
void makeErrorStream(ErrorStreamConfigurationInfo &)
Definition: DiskWriter.cc:270
void stor::DiskWriter::configureEventStreams ( EvtStrConfigListPtr  cfgList)
private

Configures the event streams to be written to disk

Definition at line 220 of file DiskWriter.cc.

References makeEventStream().

Referenced by checkStreamChangeRequest().

221  {
222  for (
223  EvtStrConfigList::iterator it = cfgList->begin(),
224  itEnd = cfgList->end();
225  it != itEnd;
226  ++it
227  )
228  {
229  if ( it->fractionToDisk() > 0 )
230  makeEventStream(*it);
231  }
232  }
void makeEventStream(EventStreamConfigurationInfo &)
Definition: DiskWriter.cc:260
void stor::DiskWriter::destroyStreams ( )
private

Gracefully close all streams

Definition at line 280 of file DiskWriter.cc.

References stor::StreamHandler::closeAllFiles(), reportRemainingLumiSections(), streamHandlers_, and writeEndOfRunMarker().

Referenced by checkStreamChangeRequest(), and ~DiskWriter().

281  {
282  if (streamHandlers_.empty()) return;
283 
284  std::for_each(streamHandlers_.begin(), streamHandlers_.end(),
285  boost::bind(&StreamHandler::closeAllFiles, _1));
286  streamHandlers_.clear();
287 
290  }
void writeEndOfRunMarker()
Definition: DiskWriter.cc:302
void reportRemainingLumiSections()
Definition: DiskWriter.cc:293
StreamHandlers streamHandlers_
Definition: DiskWriter.h:155
void stor::DiskWriter::makeErrorStream ( ErrorStreamConfigurationInfo streamCfg)
private

Creates the handler for the given error event stream

Definition at line 270 of file DiskWriter.cc.

References dbFileHandler_, stor::ErrorStreamConfigurationInfo::setStreamId(), sharedResources_, and streamHandlers_.

Referenced by configureErrorStreams().

271  {
272  boost::shared_ptr<FRDStreamHandler> newHandler(
273  new FRDStreamHandler(streamCfg, sharedResources_, dbFileHandler_)
274  );
275  streamHandlers_.push_back(boost::dynamic_pointer_cast<StreamHandler>(newHandler));
276  streamCfg.setStreamId(streamHandlers_.size() - 1);
277  }
SharedResourcesPtr sharedResources_
Definition: DiskWriter.h:145
StreamHandlers streamHandlers_
Definition: DiskWriter.h:155
const DbFileHandlerPtr dbFileHandler_
Definition: DiskWriter.h:147
void stor::DiskWriter::makeEventStream ( EventStreamConfigurationInfo streamCfg)
private

Creates the handler for the given event stream

Definition at line 260 of file DiskWriter.cc.

References dbFileHandler_, stor::EventStreamConfigurationInfo::setStreamId(), sharedResources_, and streamHandlers_.

Referenced by configureEventStreams().

261  {
262  boost::shared_ptr<EventStreamHandler> newHandler(
263  new EventStreamHandler(streamCfg, sharedResources_, dbFileHandler_)
264  );
265  streamHandlers_.push_back(boost::dynamic_pointer_cast<StreamHandler>(newHandler));
266  streamCfg.setStreamId(streamHandlers_.size() - 1);
267  }
SharedResourcesPtr sharedResources_
Definition: DiskWriter.h:145
StreamHandlers streamHandlers_
Definition: DiskWriter.h:155
const DbFileHandlerPtr dbFileHandler_
Definition: DiskWriter.h:147
void stor::DiskWriter::makeFaultyEventStream ( )
private

Creates the handler for faulty events detected by the SM

Definition at line 249 of file DiskWriter.cc.

References dbFileHandler_, dwParams_, stor::DiskWritingParams::faultyEventsStream_, sharedResources_, and streamHandlers_.

Referenced by checkStreamChangeRequest().

250  {
251  if ( dwParams_.faultyEventsStream_.empty() ) return;
252 
253  boost::shared_ptr<FaultyEventStreamHandler> newHandler(
254  new FaultyEventStreamHandler(sharedResources_, dbFileHandler_, dwParams_.faultyEventsStream_)
255  );
256  streamHandlers_.push_back(boost::dynamic_pointer_cast<StreamHandler>(newHandler));
257  }
SharedResourcesPtr sharedResources_
Definition: DiskWriter.h:145
DiskWritingParams dwParams_
Definition: DiskWriter.h:146
StreamHandlers streamHandlers_
Definition: DiskWriter.h:155
std::string faultyEventsStream_
Definition: Configuration.h:44
const DbFileHandlerPtr dbFileHandler_
Definition: DiskWriter.h:147
DiskWriter& stor::DiskWriter::operator= ( DiskWriter const &  )
private
void stor::DiskWriter::processEndOfLumiSection ( const I2OChain msg)
private

Close files at the end of a luminosity section and release message memory:

Definition at line 314 of file DiskWriter.cc.

References dbFileHandler_, endOfRunReport_, stor::I2OChain::faulty(), stor::I2OChain::lumiSection(), stor::I2OChain::runNumber(), runNumber_, and streamHandlers_.

Referenced by writeNextEvent().

315  {
316  if ( msg.faulty() || msg.runNumber() != runNumber_ ) return;
317 
318  const uint32_t lumiSection = msg.lumiSection();
319 
320  std::string fileCountStr;
321  bool filesWritten = false;
322 
323  for (StreamHandlers::const_iterator it = streamHandlers_.begin(),
324  itEnd = streamHandlers_.end(); it != itEnd; ++it)
325  {
326  if ( (*it)->closeFilesForLumiSection(lumiSection, fileCountStr) )
327  filesWritten = true;
328  }
329  fileCountStr += "\tEoLS:1";
330  dbFileHandler_->write(fileCountStr);
331 
332  ++(endOfRunReport_->eolsCount);
333  if (filesWritten) ++(endOfRunReport_->lsCountWithFiles);
334  endOfRunReport_->updateLatestWrittenLumiSection(lumiSection);
335  }
unsigned int runNumber_
Definition: DiskWriter.h:149
StreamHandlers streamHandlers_
Definition: DiskWriter.h:155
const DbFileHandlerPtr dbFileHandler_
Definition: DiskWriter.h:147
StreamsMonitorCollection::EndOfRunReportPtr endOfRunReport_
Definition: DiskWriter.h:157
void stor::DiskWriter::reportRemainingLumiSections ( )
private

Log file statistics for so far unreported lumi sections

Definition at line 293 of file DiskWriter.cc.

References dbFileHandler_, endOfRunReport_, stor::StreamsMonitorCollection::reportAllLumiSectionInfos(), and sharedResources_.

Referenced by destroyStreams().

294  {
295  StreamsMonitorCollection& smc =
296  sharedResources_->statisticsReporter_->getStreamsMonitorCollection();
297 
298  smc.reportAllLumiSectionInfos(dbFileHandler_, endOfRunReport_);
299  }
SharedResourcesPtr sharedResources_
Definition: DiskWriter.h:145
const DbFileHandlerPtr dbFileHandler_
Definition: DiskWriter.h:147
StreamsMonitorCollection::EndOfRunReportPtr endOfRunReport_
Definition: DiskWriter.h:157
void stor::DiskWriter::startWorkLoop ( std::string  workloopName)

Creates and starts the disk writing workloop

Definition at line 52 of file DiskWriter.cc.

References app_, edm::hlt::Exception, stor::utils::getIdentifier(), runTheMatrix::msg, writeAction(), and writingWL_.

53  {
54  try
55  {
56  std::string identifier = utils::getIdentifier(app_->getApplicationDescriptor());
57 
58  writingWL_ = toolbox::task::getWorkLoopFactory()->
59  getWorkLoop( identifier + workloopName, "waiting" );
60 
61  if ( ! writingWL_->isActive() )
62  {
63  toolbox::task::ActionSignature* processAction =
64  toolbox::task::bind(this, &DiskWriter::writeAction,
65  identifier + "WriteNextEvent");
66  writingWL_->submit(processAction);
67 
68  writingWL_->activate();
69  }
70  }
71  catch (xcept::Exception& e)
72  {
73  std::string msg = "Failed to start workloop 'DiskWriter' with 'writeNextEvent'.";
74  XCEPT_RETHROW(stor::exception::DiskWriting, msg, e);
75  }
76  }
std::string getIdentifier(xdaq::ApplicationDescriptor *)
Definition: Utils.cc:72
bool writeAction(toolbox::task::WorkLoop *)
Definition: DiskWriter.cc:79
xdaq::Application * app_
Definition: DiskWriter.h:144
toolbox::task::WorkLoop * writingWL_
Definition: DiskWriter.h:160
bool stor::DiskWriter::writeAction ( toolbox::task::WorkLoop *  )

The workloop action taking the next event from the StreamQueue and writing it to disk

Definition at line 79 of file DiskWriter.cc.

References actionIsActive_, cmsCodeRules.cppFunctionSkipper::exception, edm::hlt::Exception, sharedResources_, and writeNextEvent().

Referenced by startWorkLoop().

80  {
81  std::string errorMsg = "Failed to write an event: ";
82 
83  try
84  {
86  }
87  catch(xcept::Exception &e)
88  {
89  XCEPT_DECLARE_NESTED( stor::exception::DiskWriting,
90  sentinelException, errorMsg, e );
91  sharedResources_->moveToFailedState(sentinelException);
92  }
93  catch(std::exception &e)
94  {
95  errorMsg += e.what();
96  XCEPT_DECLARE( stor::exception::DiskWriting,
97  sentinelException, errorMsg );
98  sharedResources_->moveToFailedState(sentinelException);
99  }
100  catch(...)
101  {
102  errorMsg += "Unknown exception";
103  XCEPT_DECLARE( stor::exception::DiskWriting,
104  sentinelException, errorMsg );
105  sharedResources_->moveToFailedState(sentinelException);
106  }
107 
108  return actionIsActive_;
109  }
SharedResourcesPtr sharedResources_
Definition: DiskWriter.h:145
void writeNextEvent()
Definition: DiskWriter.cc:112
void stor::DiskWriter::writeEndOfRunMarker ( )
private

Log end-of-run marker

Definition at line 302 of file DiskWriter.cc.

References dbFileHandler_, and endOfRunReport_.

Referenced by destroyStreams().

303  {
304  std::ostringstream str;
305  str << "LScount:" << endOfRunReport_->lsCountWithFiles
306  << "\tEoLScount:" << endOfRunReport_->eolsCount
307  << "\tLastLumi:" << endOfRunReport_->latestLumiSectionWritten
308  << "\tEoR";
309  dbFileHandler_->write(str.str());
310  endOfRunReport_->reset();
311  }
const DbFileHandlerPtr dbFileHandler_
Definition: DiskWriter.h:147
StreamsMonitorCollection::EndOfRunReportPtr endOfRunReport_
Definition: DiskWriter.h:157
void stor::DiskWriter::writeEventToStreams ( const I2OChain event)
private

Writes the event to the appropriate streams

Definition at line 148 of file DiskWriter.cc.

References runTheMatrix::msg, streamHandlers_, and hcal_dqm_sourceclient-file_cfg::streams.

Referenced by writeNextEvent().

149  {
150  std::vector<StreamID> streams = event.getStreamTags();
151 
152  for (
153  std::vector<StreamID>::const_iterator it = streams.begin(), itEnd = streams.end();
154  it != itEnd;
155  ++it
156  )
157  {
158  try
159  {
160  streamHandlers_.at(*it)->writeEvent(event);
161  }
162  catch (std::out_of_range& e)
163  {
164  std::ostringstream msg;
165  msg << "Unable to retrieve stream handler for " << (*it) << " : ";
166  msg << e.what();
167  XCEPT_RAISE(exception::UnknownStreamId, msg.str());
168  }
169  }
170  }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
StreamHandlers streamHandlers_
Definition: DiskWriter.h:155
void stor::DiskWriter::writeNextEvent ( )
private

Takes the event from the stream queue

Definition at line 112 of file DiskWriter.cc.

References checkForFileTimeOuts(), checkStreamChangeRequest(), event(), stor::utils::getCurrentTime(), stor::I2OChain::isEndOfLumiSectionMessage(), stor::I2OChain::memoryUsed(), processEndOfLumiSection(), sharedResources_, timeout_, and writeEventToStreams().

Referenced by writeAction().

113  {
114  I2OChain event;
115  StreamQueuePtr sq = sharedResources_->streamQueue_;
117  if (sq->deqTimedWait(event, timeout_))
118  {
119  sharedResources_->diskWriterResources_->setBusy(true);
120 
121  utils::Duration_t elapsedTime = utils::getCurrentTime() - startTime;
122  sharedResources_->statisticsReporter_->getThroughputMonitorCollection().addDiskWriterIdleSample(elapsedTime);
123  sharedResources_->statisticsReporter_->getThroughputMonitorCollection().addPoppedEventSample(event.memoryUsed());
124 
125  if( event.isEndOfLumiSectionMessage() )
126  {
127  processEndOfLumiSection( event );
128  }
129  else
130  {
131  writeEventToStreams( event );
133  }
134  }
135  else
136  {
137  utils::Duration_t elapsedTime = utils::getCurrentTime() - startTime;
138  sharedResources_->statisticsReporter_->
139  getThroughputMonitorCollection().addDiskWriterIdleSample(elapsedTime);
140 
142  checkForFileTimeOuts(true);
143  sharedResources_->diskWriterResources_->setBusy(false);
144  }
145  }
TimePoint_t getCurrentTime()
Definition: Utils.h:158
void checkForFileTimeOuts(const bool doItNow=false)
Definition: DiskWriter.cc:201
SharedResourcesPtr sharedResources_
Definition: DiskWriter.h:145
void checkStreamChangeRequest()
Definition: DiskWriter.cc:173
void writeEventToStreams(const I2OChain &)
Definition: DiskWriter.cc:148
boost::posix_time::time_duration Duration_t
Definition: Utils.h:41
boost::shared_ptr< StreamQueue > StreamQueuePtr
Definition: StreamQueue.h:22
boost::posix_time::ptime TimePoint_t
Definition: Utils.h:35
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
boost::posix_time::time_duration timeout_
Definition: DiskWriter.h:150
void processEndOfLumiSection(const I2OChain &)
Definition: DiskWriter.cc:314

Member Data Documentation

bool stor::DiskWriter::actionIsActive_
private

Definition at line 159 of file DiskWriter.h.

Referenced by writeAction(), and ~DiskWriter().

xdaq::Application* stor::DiskWriter::app_
private

Definition at line 144 of file DiskWriter.h.

Referenced by startWorkLoop().

const DbFileHandlerPtr stor::DiskWriter::dbFileHandler_
private
DiskWritingParams stor::DiskWriter::dwParams_
private
StreamsMonitorCollection::EndOfRunReportPtr stor::DiskWriter::endOfRunReport_
private
utils::TimePoint_t stor::DiskWriter::lastFileTimeoutCheckTime_
private

Definition at line 151 of file DiskWriter.h.

Referenced by checkForFileTimeOuts().

unsigned int stor::DiskWriter::runNumber_
private

Definition at line 149 of file DiskWriter.h.

Referenced by checkStreamChangeRequest(), and processEndOfLumiSection().

SharedResourcesPtr stor::DiskWriter::sharedResources_
private
StreamHandlers stor::DiskWriter::streamHandlers_
private
boost::posix_time::time_duration stor::DiskWriter::timeout_
private

Definition at line 150 of file DiskWriter.h.

Referenced by checkStreamChangeRequest(), DiskWriter(), and writeNextEvent().

toolbox::task::WorkLoop* stor::DiskWriter::writingWL_
private

Definition at line 160 of file DiskWriter.h.

Referenced by startWorkLoop(), and ~DiskWriter().