]> git.proxmox.com Git - ceph.git/blob - ceph/src/rgw/rgw_asio_frontend.h
bump version to 18.2.2-pve1
[ceph.git] / ceph / src / rgw / rgw_asio_frontend.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab ft=cpp
3
4 #pragma once
5
6 #include <memory>
7 #include "rgw_frontend.h"
8 #define REQUEST_TIMEOUT 65000
9
10 class RGWAsioFrontend : public RGWFrontend {
11 class Impl;
12 std::unique_ptr<Impl> impl;
13 public:
14 RGWAsioFrontend(RGWProcessEnv& env, RGWFrontendConfig* conf,
15 rgw::dmclock::SchedulerCtx& sched_ctx);
16 ~RGWAsioFrontend() override;
17
18 int init() override;
19 int run() override;
20 void stop() override;
21 void join() override;
22
23 void pause_for_new_config() override;
24 void unpause_with_new_config() override;
25 };