3 #include <zk/config.hpp> 17 class package_registry;
26 explicit server(std::string classpath);
38 void shutdown(
bool wait_for_stop =
false);
41 void run_process(std::string classpath);
Controls a ZooKeeper server process on this local machine.
server(std::string classpath)
static std::shared_ptr< server > create(package_registry ®istry)
Create a running server process with the best (newest) version from the provided registry.
The package registry tracks configuration of classpaths and JARs needed to run various ZooKeeper vers...