Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
LogWorker.h
Go to the documentation of this file.
1/*
2* This file is part of Project SkyFire https://www.projectskyfire.org.
3* See LICENSE.md file for Copyright information
4*/
5
6#ifndef LOGWORKER_H
7#define LOGWORKER_H
8
9#include "LogOperation.h"
10
11#include <memory>
12
14{
15public:
16 LogWorker();
17 ~LogWorker();
18
19 enum
20 {
21 HIGH_WATERMARK = 8 * 1024 * 1024,
22 LOW_WATERMARK = 8 * 1024 * 1024
23 };
24
25 int enqueue(LogOperation* op);
26
27private:
28 struct Impl;
29
30 std::unique_ptr<Impl> m_impl;
31};
32
33#endif
std::unique_ptr< Impl > m_impl
Definition LogWorker.h:30
@ LOW_WATERMARK
Definition LogWorker.h:22
@ HIGH_WATERMARK
Definition LogWorker.h:21
int enqueue(LogOperation *op)
Definition LogWorker.cpp:40