]> git.proxmox.com Git - ceph.git/blame_incremental - ceph/src/rgw/rgw_asio_frontend.h
bump version to 19.2.0-pve1
[ceph.git] / ceph / src / rgw / rgw_asio_frontend.h
... / ...
CommitLineData
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
8#include <boost/asio/io_context.hpp>
9
10#include "rgw_frontend.h"
11#define REQUEST_TIMEOUT 65000
12
13class RGWAsioFrontend : public RGWFrontend {
14 class Impl;
15 std::unique_ptr<Impl> impl;
16public:
17 RGWAsioFrontend(RGWProcessEnv& env, RGWFrontendConfig* conf,
18 rgw::dmclock::SchedulerCtx& sched_ctx,
19 boost::asio::io_context& io_context);
20 ~RGWAsioFrontend() override;
21
22 int init() override;
23 int run() override;
24 void stop() override;
25 void join() override;
26
27 void pause_for_new_config() override;
28 void unpause_with_new_config() override;
29};