Exemple #1
0
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;
}
Exemple #2
0
bool server_base::load(const std::string& id) {
  load_file_impl(*this, build_local_path(argv_, "jubatus", id), id);
  return true;
}
Exemple #3
0
void server_base::load_file(const std::string& path) {
  load_file_impl(*this, path, "");
}