hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::subscription::ThreadHandler Class Referencefinal

#include "thread_handler.hpp"

Inheritance diagram for iroha::subscription::ThreadHandler:
Inheritance graph
Collaboration diagram for iroha::subscription::ThreadHandler:
Collaboration graph

Public Member Functions

 ThreadHandler ()
 
void dispose (bool wait_for_release=true)
 Stops sheduler work and tasks execution. More...
 
- Public Member Functions inherited from iroha::subscription::SchedulerBase
 SchedulerBase ()
 
uint32_t process ()
 
bool isBusy () const override
 Checks if current scheduler executes task. More...
 
void add (Task &&t) override
 Adds task to execution queue. More...
 
void addDelayed (std::chrono::microseconds timeout, Task &&t) override
 Adds delayed task to execution queue. More...
 
- Public Member Functions inherited from iroha::subscription::IScheduler
virtual ~IScheduler ()
 

Additional Inherited Members

- Public Types inherited from iroha::subscription::IScheduler
using Task = std::function< void()>
 

Constructor & Destructor Documentation

◆ ThreadHandler()

iroha::subscription::ThreadHandler::ThreadHandler ( )
inline
Here is the call graph for this function:

Member Function Documentation

◆ dispose()

void iroha::subscription::ThreadHandler::dispose ( bool  wait_for_release = true)
inlinevirtual

Stops sheduler work and tasks execution.

Reimplemented from iroha::subscription::SchedulerBase.

Here is the call graph for this function:

The documentation for this class was generated from the following file: