LogCabin
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Public Attributes
LogCabin::Client::ConfigurationResult Struct Reference

Returned by Cluster::setConfiguration. More...

#include <Client.h>

List of all members.

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.

Detailed Description

Returned by Cluster::setConfiguration.

Definition at line 97 of file Client.h.


Member Enumeration Documentation

Enumerator:
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.

Since:
LogCabin v1.2.0

Definition at line 101 of file Client.h.


Constructor & Destructor Documentation

Definition at line 100 of file Client.cc.

Definition at line 107 of file Client.cc.


Member Data Documentation

If status is BAD, the servers that were unavailable to join the cluster.

Definition at line 127 of file Client.h.

Error message, if status is not OK.

Definition at line 132 of file Client.h.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines