bool server_base::load(const std::string& id) { if (id == "") { throw JUBATUS_EXCEPTION( core::common::exception::runtime_error("empty id is not allowed")); } load_file_impl(*this, build_local_path(argv_, argv_.type, id), id); return true; }
bool server_base::load(const std::string& id) { load_file_impl(*this, build_local_path(argv_, "jubatus", id), id); return true; }
void server_base::load_file(const std::string& path) { load_file_impl(*this, path, ""); }