|
Fray Engine
|
Dedicated queue and worker for one project's log writes. More...
Public Attributes | |
| std::shared_ptr< threads::TaskQueue > | queue = std::make_shared<threads::TaskQueue>() |
| Queue draining this project's log writes. | |
| threads::ThreadManager::Id | thread = 0 |
| Worker identifier in the shared thread manager. | |
| bool | closing = false |
| True once the project session is being closed. | |
| std::string | identity |
| Opening tag or stable ID, guarded by _projectLogsMutex. | |
| std::atomic< bool > | closeReady {false} |
| Result of the queued log-close operation. | |
| bool | opening = false |
| Holds log entries until the project log session is ready; worker thread only. | |
| std::vector< logs::Entry > | duringOpening |
| Entries received while the project log session opens; worker thread only. | |
| bool | renaming = false |
| True while log entries are held during a folder rename; worker thread only. | |
| std::vector< logs::Entry > | duringRename |
| Entries captured while the log connection is suspended; worker thread only. | |
| std::function< void()> | deferredClose |
| A close held until the rename has resumed its log session; worker thread only. | |
Dedicated queue and worker for one project's log writes.
Definition at line 85 of file fray_manager.hpp.
| std::atomic<bool> fray::FrayManager::ProjectLogWorker::closeReady {false} |
Result of the queued log-close operation.
Definition at line 96 of file fray_manager.hpp.
| bool fray::FrayManager::ProjectLogWorker::closing = false |
True once the project session is being closed.
Definition at line 92 of file fray_manager.hpp.
| std::function<void()> fray::FrayManager::ProjectLogWorker::deferredClose |
A close held until the rename has resumed its log session; worker thread only.
Definition at line 106 of file fray_manager.hpp.
| std::vector<logs::Entry> fray::FrayManager::ProjectLogWorker::duringOpening |
Entries received while the project log session opens; worker thread only.
Definition at line 100 of file fray_manager.hpp.
| std::vector<logs::Entry> fray::FrayManager::ProjectLogWorker::duringRename |
Entries captured while the log connection is suspended; worker thread only.
Definition at line 104 of file fray_manager.hpp.
| std::string fray::FrayManager::ProjectLogWorker::identity |
Opening tag or stable ID, guarded by _projectLogsMutex.
Definition at line 94 of file fray_manager.hpp.
| bool fray::FrayManager::ProjectLogWorker::opening = false |
Holds log entries until the project log session is ready; worker thread only.
Definition at line 98 of file fray_manager.hpp.
| std::shared_ptr<threads::TaskQueue> fray::FrayManager::ProjectLogWorker::queue = std::make_shared<threads::TaskQueue>() |
Queue draining this project's log writes.
Definition at line 88 of file fray_manager.hpp.
| bool fray::FrayManager::ProjectLogWorker::renaming = false |
True while log entries are held during a folder rename; worker thread only.
Definition at line 102 of file fray_manager.hpp.
| threads::ThreadManager::Id fray::FrayManager::ProjectLogWorker::thread = 0 |
Worker identifier in the shared thread manager.
Definition at line 90 of file fray_manager.hpp.