|
crawlserv++
[under development]
Application for crawling and analyzing textual content of websites.
|
#include "Database.hpp"#include "../Helper/DateTime.hpp"#include "../Main/Database.hpp"#include "../Main/Exception.hpp"#include "../Struct/ModuleOptions.hpp"#include "../Struct/ThreadOptions.hpp"#include "../Struct/ThreadStatus.hpp"#include "../Wrapper/DatabaseLock.hpp"#include <atomic>#include <chrono>#include <cmath>#include <condition_variable>#include <cstdint>#include <exception>#include <iostream>#include <mutex>#include <queue>#include <string>#include <string_view>#include <thread>#include <utility>

Go to the source code of this file.
Classes | |
| class | crawlservpp::Module::Thread |
| Abstract class providing module-independent thread functionality. More... | |
| class | crawlservpp::Module::Thread::Exception |
| Class for generic thread exceptions. More... | |
Namespaces | |
| crawlservpp::Module | |
| Namespace for the different modules run by threads. | |
Constants | |
| constexpr auto | crawlservpp::Module::sleepOnConnectionErrorS {10} |
| Number of seconds to sleep on connection errors. More... | |
| constexpr auto | crawlservpp::Module::sleepMs {800} |
| Number of milliseconds to sleep before checking whether the thread is still running. More... | |
| constexpr auto | crawlservpp::Module::statusPrefixInterrupted {"INTERRUPTED "sv} |
| Status message prefix for interrupted threads. More... | |
| constexpr auto | crawlservpp::Module::statusPrefixPaused {"PAUSED "sv} |
| Status message prefix for paused threads. More... | |