MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Config Class Reference

Cluster Configuration Wrapper. More...

#include <Config.hpp>

Collaboration diagram for Config:

Public Member Functions

 Config (struct ndb_mgm_configuration *config_values=NULL)
 Config (ConfigValues *config_values)
 Config (const Config *)
void print (const char *section_filter=NULL, NodeId nodeid_filter=NULL, const char *param_filter=NULL, NdbOut &out=ndbout) const
Uint32 getGeneration () const
bool setGeneration (Uint32)
const char * getName () const
bool setName (const char *new_name)
Uint32 getPrimaryMgmNode () const
bool setPrimaryMgmNode (Uint32)
Uint32 pack (UtilBuffer &) const
bool pack64 (BaseString &) const
void diff (const Config *other, Properties &diff_list, const unsigned *exclude=NULL) const
void print_diff (const Config *other) const
void getConnectString (BaseString &, const BaseString &separator=BaseString(";")) const
const char * diff2str (const Config *other, BaseString &str, const unsigned *exclude=NULL) const
bool illegal_change (const Config *other) const
bool equal (const Config *, const unsigned *exclude=NULL) const
Uint32 checksum (void) const
void get_nodemask (NodeBitmask &mask, ndb_mgm_node_type type=NDB_MGM_NODE_TYPE_UNKNOWN) const
struct ndb_mgm_configurationvalues (void) const

Public Attributes

struct ndb_mgm_configurationm_configValues

Detailed Description

Cluster Configuration Wrapper.

Adds a C++ wrapper around 'ndb_mgm_configuration' which is exposed from mgmapi_configuration

Definition at line 37 of file Config.hpp.

Member Function Documentation

void Config::diff ( const Config other,
Properties diff,
const unsigned *  exclude = NULL 
) const

Generate a diff list

Definition at line 577 of file Config.cpp.


The documentation for this class was generated from the following files: