![SWC-DB logo](logo.svg) |
SWC-DB
v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
|
Go to the documentation of this file.
6 #ifndef swcdb_core_comm_PeriodicTimer_h
7 #define swcdb_core_comm_PeriodicTimer_h
14 namespace SWC {
namespace Comm {
18 typedef const std::function<void()>
Call_t;
36 const Config::Property::Value_int32_g::Ptr
m_ms;
54 void set(const Config::Property::Value_int32_g::Ptr ms,
67 #endif // swcdb_core_comm_PeriodicTimer_h
PeriodicTimer & operator=(const PeriodicTimer &)=delete
std::shared_ptr< IoContext > IoContextPtr
~PeriodicTimer() noexcept
PeriodicTimers() noexcept
const std::function< void()> Call_t
PeriodicTimer(PeriodicTimer &&)=delete
Core::MutexAtomic m_mutex
The SWC-DB C++ namespace 'SWC'.
const Config::Property::Value_int32_g::Ptr m_ms
asio::high_resolution_timer m_timer
PeriodicTimer(const Config::Property::Value_int32_g::Ptr cfg_ms, Call_t &&call, const IoContextPtr &ioctx)
PeriodicTimer & operator=(PeriodicTimer &&)=delete
PeriodicTimer(const PeriodicTimer &)=delete