]>
Commit | Line | Data |
---|---|---|
7c673cae | 1 | // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- |
9f95a23c | 2 | // vim: ts=8 sw=2 smarttab ft=cpp |
7c673cae FG |
3 | |
4 | #ifndef RGW_ASIO_FRONTEND_H | |
5 | #define RGW_ASIO_FRONTEND_H | |
6 | ||
7 | #include <memory> | |
8 | #include "rgw_frontend.h" | |
f91f0fd5 | 9 | #define REQUEST_TIMEOUT 65000 |
7c673cae FG |
10 | |
11 | class RGWAsioFrontend : public RGWFrontend { | |
12 | class Impl; | |
13 | std::unique_ptr<Impl> impl; | |
14 | public: | |
11fdf7f2 TL |
15 | RGWAsioFrontend(const RGWProcessEnv& env, RGWFrontendConfig* conf, |
16 | rgw::dmclock::SchedulerCtx& sched_ctx); | |
7c673cae FG |
17 | ~RGWAsioFrontend() override; |
18 | ||
19 | int init() override; | |
20 | int run() override; | |
21 | void stop() override; | |
22 | void join() override; | |
23 | ||
24 | void pause_for_new_config() override; | |
20effc67 | 25 | void unpause_with_new_config(rgw::sal::Store* store, |
7c673cae FG |
26 | rgw_auth_registry_ptr_t auth_registry) override; |
27 | }; | |
28 | ||
29 | #endif // RGW_ASIO_FRONTEND_H |