This adds a stub implementation for the compaction_manager API. The methods return the right types but with a stub value. After this patch the following url will be available: /compaction_manager/compactions /compaction_manager/compaction_summary /compaction_manager/force_user_defined_compaction /compaction_manager/stop_compaction Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
19 lines
255 B
C++
19 lines
255 B
C++
/*
|
|
* Copyright 2015 Cloudius Systems
|
|
*/
|
|
|
|
#ifndef API_COMPACTION_MANAGER_HH_
|
|
#define API_COMPACTION_MANAGER_HH_
|
|
|
|
#include "api.hh"
|
|
|
|
namespace api {
|
|
|
|
void set_compaction_manager(http_context& ctx, routes& r);
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* API_COMPACTION_MANAGER_HH_ */
|