]> git.proxmox.com Git - ceph.git/blob - ceph/src/rgw/rgw_period_puller.h
add subtree-ish sources for 12.0.3
[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
3
4 #ifndef CEPH_RGW_PERIOD_PULLER_H
5 #define CEPH_RGW_PERIOD_PULLER_H
6
7 #include "rgw_period_history.h"
8
9 class RGWRados;
10 class RGWPeriod;
11
12 class RGWPeriodPuller : public RGWPeriodHistory::Puller {
13 RGWRados *const store;
14 public:
15 RGWPeriodPuller(RGWRados* store) : store(store) {}
16
17 int pull(const std::string& period_id, RGWPeriod& period) override;
18 };
19
20 #endif // CEPH_RGW_PERIOD_PULLER_H