diff --git a/lib/ZeroMQ/ZeroMQBatchJob.cpp b/lib/ZeroMQ/ZeroMQBatchJob.cpp index 68209e8673..bf9c127442 100644 --- a/lib/ZeroMQ/ZeroMQBatchJob.cpp +++ b/lib/ZeroMQ/ZeroMQBatchJob.cpp @@ -242,6 +242,15 @@ void ZeroMQBatchJob::handleError (TriagensError const& ex) { _handler->handleError(ex); } +//////////////////////////////////////////////////////////////////////////////// +/// {@inheritDoc} +//////////////////////////////////////////////////////////////////////////////// + +bool ZeroMQBatchJob::beginShutdown () { + // TODO FIXME: check what this method should do + return false; +} + //////////////////////////////////////////////////////////////////////////////// /// @brief extracts the current request //////////////////////////////////////////////////////////////////////////////// diff --git a/lib/ZeroMQ/ZeroMQBatchJob.h b/lib/ZeroMQ/ZeroMQBatchJob.h index c43fbc68bb..8fa22b1b51 100644 --- a/lib/ZeroMQ/ZeroMQBatchJob.h +++ b/lib/ZeroMQ/ZeroMQBatchJob.h @@ -176,6 +176,12 @@ namespace triagens { //////////////////////////////////////////////////////////////////////////////// void handleError (basics::TriagensError const&); + + //////////////////////////////////////////////////////////////////////////////// + /// @brief shuts down the execution and deletes everything + //////////////////////////////////////////////////////////////////////////////// + + bool beginShutdown (); //////////////////////////////////////////////////////////////////////////////// /// @brief extracts the next request and its handler