+ const std::vector<MonCommand> &get_command_descs() const {
+ return command_descs;
+ }
+
+ int load_metadata(const string& name, std::map<string, string>& m,
+ ostream *err);
+ int dump_metadata(const string& name, Formatter *f, ostream *err);
+ void count_metadata(const string& field, Formatter *f);
+ void count_metadata(const string& field, std::map<string,int> *out);
+