1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab ft=cpp
6 #include "rgw/rgw_service.h"
7 #include "rgw/rgw_sync_module.h"
11 class RGWSyncModulesManager
;
13 class RGWSI_SyncModules
: public RGWServiceInstance
15 RGWSyncModulesManager
*sync_modules_manager
{nullptr};
16 RGWSyncModuleInstanceRef sync_module
;
19 RGWSI_Zone
*zone
{nullptr};
23 RGWSI_SyncModules(CephContext
*cct
): RGWServiceInstance(cct
) {}
26 RGWSyncModulesManager
*get_manager() {
27 return sync_modules_manager
;
30 void init(RGWSI_Zone
*zone_svc
);
31 int do_start(optional_yield
) override
;
33 RGWSyncModuleInstanceRef
& get_sync_module() { return sync_module
; }