Contains the configuration for Hazelcast groups. More...
#include <GroupConfig.h>
Public Member Functions | |
GroupConfig (const std::string &name, const std::string &password) | |
Creates a GroupConfig with the given group-name and default group-password. More... | |
std::string | getPassword () const |
Gets the password to connect to to the group. More... | |
std::string | getName () const |
Gets the name of the group. More... | |
GroupConfig & | setPassword (const std::string &password) |
Sets the password. More... | |
GroupConfig & | setName (const std::string &name) |
Sets the group name. More... | |
Contains the configuration for Hazelcast groups.
With groups it is possible to create multiple clusters where each cluster has its own group and doesn't interfere with other clusters.
hazelcast::client::GroupConfig::GroupConfig | ( | const std::string & | name, |
const std::string & | password | ||
) |
Creates a GroupConfig with the given group-name and default group-password.
name | the name of the group |
password | the password of the group |
std::string hazelcast::client::GroupConfig::getName | ( | ) | const |
Gets the name of the group.
std::string hazelcast::client::GroupConfig::getPassword | ( | ) | const |
Gets the password to connect to to the group.
GroupConfig & hazelcast::client::GroupConfig::setName | ( | const std::string & | name | ) |
GroupConfig & hazelcast::client::GroupConfig::setPassword | ( | const std::string & | password | ) |