]> git.proxmox.com Git - ceph.git/blame - ceph/src/rgw/rgw_period_puller.h
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / rgw / rgw_period_puller.h
CommitLineData
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 3
1e59de90 4#pragma once
7c673cae
FG
5
6#include "rgw_period_history.h"
9f95a23c 7#include "include/common_fwd.h"
f67539c2 8#include "rgw/services/svc_sys_obj.h"
7c673cae 9
7c673cae
FG
10class RGWPeriod;
11
12class RGWPeriodPuller : public RGWPeriodHistory::Puller {
9f95a23c
TL
13 CephContext *cct;
14
15 struct {
16 RGWSI_Zone *zone;
17 RGWSI_SysObj *sysobj;
18 } svc;
19
7c673cae 20 public:
9f95a23c 21 explicit RGWPeriodPuller(RGWSI_Zone *zone_svc, RGWSI_SysObj *sysobj_svc);
7c673cae 22
b3b6e05e 23 int pull(const DoutPrefixProvider *dpp, const std::string& period_id, RGWPeriod& period, optional_yield y) override;
7c673cae 24};