]>
Commit | Line | Data |
---|---|---|
9f95a23c TL |
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 | ||
f67539c2 TL |
6 | #include <string> |
7 | #include <vector> | |
8 | ||
b3b6e05e TL |
9 | #include "common/dout.h" |
10 | ||
9f95a23c TL |
11 | class RGWCoroutine; |
12 | class RGWRados; | |
13 | class RGWHTTPManager; | |
14 | class utime_t; | |
15 | namespace rgw { namespace sal { | |
20effc67 | 16 | class RadosStore; |
9f95a23c TL |
17 | } } |
18 | ||
19 | // DataLogTrimCR factory function | |
20effc67 | 20 | extern RGWCoroutine* create_data_log_trim_cr(const DoutPrefixProvider *dpp, rgw::sal::RadosStore* store, |
9f95a23c TL |
21 | RGWHTTPManager *http, |
22 | int num_shards, utime_t interval); | |
23 | ||
24 | // factory function for datalog trim via radosgw-admin | |
20effc67 | 25 | RGWCoroutine* create_admin_data_log_trim_cr(const DoutPrefixProvider *dpp, rgw::sal::RadosStore* store, |
9f95a23c TL |
26 | RGWHTTPManager *http, |
27 | int num_shards, | |
28 | std::vector<std::string>& markers); |