]> git.proxmox.com Git - ceph.git/blob - ceph/src/rgw/rgw_period_puller.h
import ceph 15.2.10
[ceph.git] / ceph / src / rgw / rgw_period_puller.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 #ifndef CEPH_RGW_PERIOD_PULLER_H
5 #define CEPH_RGW_PERIOD_PULLER_H
6
7 #include "rgw_period_history.h"
8 #include "include/common_fwd.h"
9
10 class RGWPeriod;
11
12 class RGWPeriodPuller : public RGWPeriodHistory::Puller {
13 CephContext *cct;
14
15 struct {
16 RGWSI_Zone *zone;
17 RGWSI_SysObj *sysobj;
18 } svc;
19
20 public:
21 explicit RGWPeriodPuller(RGWSI_Zone *zone_svc, RGWSI_SysObj *sysobj_svc);
22
23 int pull(const std::string& period_id, RGWPeriod& period) override;
24 };
25
26 #endif // CEPH_RGW_PERIOD_PULLER_H