LogCabin
|
Returned by Cluster::setConfiguration. More...
#include <Client.h>
Public Types | |
enum | Status { OK, CHANGED, BAD, TIMEOUT } |
Public Member Functions | |
ConfigurationResult () | |
~ConfigurationResult () | |
Public Attributes | |
enum LogCabin::Client::ConfigurationResult::Status | status |
Configuration | badServers |
If status is BAD, the servers that were unavailable to join the cluster. | |
std::string | error |
Error message, if status is not OK. |
Returned by Cluster::setConfiguration.
OK |
The operation succeeded. |
CHANGED |
The supplied 'oldId' is no longer current. Call GetConfiguration, re-apply your changes, and try again. |
BAD |
The reconfiguration was aborted because some servers are unavailable. |
TIMEOUT |
The reconfiguration could not be completed in the requested timeframe.
|
std::string LogCabin::Client::ConfigurationResult::error |