MCPcopy Create free account
hub / github.com/Abc-Arbitrage/Disruptor-cpp / notifyStart

Method notifyStart

Disruptor/WorkProcessor.h:195–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193 }
194
195 void notifyStart()
196 {
197 auto lifecycleAware = std::dynamic_pointer_cast< ILifecycleAware >(m_workHandler);
198 if (lifecycleAware != nullptr)
199 {
200 try
201 {
202 lifecycleAware->onStart();
203 }
204 catch (std::exception& ex)
205 {
206 m_exceptionHandler->handleOnStartException(ex);
207 }
208 }
209 }
210
211 void notifyShutdown()
212 {

Callers

nothing calls this directly

Calls 2

onStartMethod · 0.45

Tested by

no test coverage detected