3 #include <zk/config.hpp>
11 #include "configuration.hpp"
60 std::size_t
size()
const {
return _servers.size(); }
65 using server_map_type = std::map<server_id, std::shared_ptr<info>>;
68 server_map_type _servers;
69 std::string _conn_string;
Create and manage a group of server instances on this local machine (most likely in a single ensemble...
Represents a collection of JARs or other Java entities that should be provided as the --classpath to ...
const std::string & get_connection_string()
Get a connection string which can connect to any the servers in the group.
void start_all_servers(const classpath &packages)
Start all servers in the group.
std::size_t size() const
How many servers are in this group?
Represents a configuration which should be run by server instance.
server_group() noexcept
Create an empty server group.
static server_group make_ensemble(std::size_t size, const configuration &base_settings)
Create an ensemble of the given size.
server_group & operator=(server_group &&) noexcept
Move-assign a server group.