]> git.proxmox.com Git - ceph.git/blame - ceph/src/rgw/rgw_asio_frontend.h
update sources to v12.2.5
[ceph.git] / ceph / src / rgw / rgw_asio_frontend.h
CommitLineData
7c673cae
FG
1// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2// vim: ts=8 sw=2 smarttab
3
4#ifndef RGW_ASIO_FRONTEND_H
5#define RGW_ASIO_FRONTEND_H
6
7#include <memory>
8#include "rgw_frontend.h"
9
10class RGWAsioFrontend : public RGWFrontend {
11 class Impl;
12 std::unique_ptr<Impl> impl;
13public:
94b18763 14 RGWAsioFrontend(const RGWProcessEnv& env, RGWFrontendConfig* conf);
7c673cae
FG
15 ~RGWAsioFrontend() override;
16
17 int init() override;
18 int run() override;
19 void stop() override;
20 void join() override;
21
22 void pause_for_new_config() override;
23 void unpause_with_new_config(RGWRados *store,
24 rgw_auth_registry_ptr_t auth_registry) override;
25};
26
27#endif // RGW_ASIO_FRONTEND_H