userver: userver/utils/periodic_task.hpp File Reference
Loading...
Searching...
No Matches
periodic_task.hpp File Reference

Detailed Description

Task that periodically runs a user callback. Callback is started after the previous callback execution is finished every period + A - B, where:

Definition in file periodic_task.hpp.

Go to the source code of this file.

#include <chrono>
#include <functional>
#include <optional>
#include <random>
#include <string>
#include <userver/engine/condition_variable.hpp>
#include <userver/engine/deadline.hpp>
#include <userver/engine/single_consumer_event.hpp>
#include <userver/engine/task/task_with_result.hpp>
#include <userver/rcu/rcu.hpp>
#include <userver/testsuite/periodic_task_control.hpp>
#include <userver/tracing/span.hpp>
#include <userver/utils/assert.hpp>
#include <userver/utils/flags.hpp>
+ Include dependency graph for periodic_task.hpp:
+ This graph shows which files directly or indirectly include this file:

Classes

class  utils::PeriodicTask
 Task that periodically runs a user callback. Callback is started after the previous callback execution is finished every period + A - B, where: More...
 
struct  utils::PeriodicTask::Settings
 Configuration parameters for PeriodicTask. More...
 

Namespaces

namespace  utils
 Utilities.