#include <db_size_api_plugin.hpp>
Definition at line 24 of file db_size_api_plugin.hpp.
◆ db_size_api_plugin() [1/2]
◆ db_size_api_plugin() [2/2]
◆ ~db_size_api_plugin()
virtual sysio::db_size_api_plugin::~db_size_api_plugin |
( |
| ) |
|
|
overridevirtualdefault |
◆ APPBASE_PLUGIN_REQUIRES()
◆ get()
Definition at line 34 of file db_size_api_plugin.cpp.
34 {
37
40 ret.used_bytes =
ret.size -
ret.free_bytes;
41
43 for(const auto& i : indices)
44 ret.indices.emplace_back(db_size_index_count{i.second, i.first});
45
47}
abstract_plugin & get_plugin(const string &name) const
pinnable_mapped_file::segment_manager * get_segment_manager()
std::multiset< std::pair< unsigned, std::string > > database_index_row_count_multiset
database_index_row_count_multiset row_count_per_index() const
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ plugin_initialize()
void sysio::db_size_api_plugin::plugin_initialize |
( |
const variables_map & | vm | ) |
|
|
inline |
◆ plugin_shutdown()
void sysio::db_size_api_plugin::plugin_shutdown |
( |
| ) |
|
|
inline |
◆ plugin_startup()
void sysio::db_size_api_plugin::plugin_startup |
( |
| ) |
|
Definition at line 28 of file db_size_api_plugin.cpp.
28 {
31 });
32}
#define CALL_WITH_400(api_name, api_handle, api_namespace, call_name, http_response_code, params_type)
#define INVOKE_R_V(api_handle, call_name)
◆ set_program_options()
virtual void sysio::db_size_api_plugin::set_program_options |
( |
options_description & | cli, |
|
|
options_description & | cfg ) |
|
inlineoverridevirtual |
The documentation for this class was generated from the following files: