MySQL 5.6.14 Source Code Document
|
Public Member Functions | |
bool | init (int _no_start, int _initial, int _initialstart) |
void | fetch_configuration (const char *_connect_string, int force_nodeid, const char *_bind_adress, NodeId allocated_nodeid) |
void | setupConfiguration () |
void | closeConfiguration (bool end_session=true) |
Uint32 | lockPagesInMainMemory () const |
int | schedulerExecutionTimer () const |
void | schedulerExecutionTimer (int value) |
int | schedulerSpinTimer () const |
void | schedulerSpinTimer (int value) |
bool | realtimeScheduler () const |
void | realtimeScheduler (bool realtime_on) |
Uint32 | executeLockCPU () const |
void | executeLockCPU (Uint32 value) |
Uint32 | maintLockCPU () const |
void | maintLockCPU (Uint32 value) |
void | setAllRealtimeScheduler () |
void | setAllLockCPU (bool exec_thread) |
int | setLockCPU (NdbThread *, enum ThreadTypes type) |
int | setRealtimeScheduler (NdbThread *, enum ThreadTypes type, bool real_time, bool init) |
Uint32 | addThread (struct NdbThread *, enum ThreadTypes type) |
void | removeThreadId (Uint32 index) |
void | yield_main (Uint32 thread_index, bool start) |
void | initThreadArray () |
int | timeBetweenWatchDogCheck () const |
void | timeBetweenWatchDogCheck (int value) |
int | maxNoOfErrorLogs () const |
void | maxNoOfErrorLogs (int val) |
bool | stopOnError () const |
void | stopOnError (bool val) |
int | getRestartOnErrorInsert () const |
void | setRestartOnErrorInsert (int) |
const char * | fileSystemPath () const |
const char * | backupFilePath () const |
bool | getInitialStart () const |
const ndb_mgm_configuration_iterator * | getOwnConfigIterator () const |
ConfigRetriever * | get_config_retriever () |
ndb_mgm_configuration_iterator * | getClusterConfigIterator () const |
ndb_mgm_configuration * | getClusterConfig () const |
Uint32 | get_config_generation () const |
Public Attributes | |
class LogLevel * | m_logLevel |
THRConfigApplier | m_thr_config |
Friends | |
class | Cmvmi |
class | Qmgr |
Definition at line 53 of file Configuration.hpp.
Uint32 Configuration::addThread | ( | struct NdbThread * | pThread, |
enum ThreadTypes | type | ||
) |
main threads are set in ThreadConfig::ipControlLoop as it's handled differently with mt
Definition at line 1008 of file Configuration.cpp.
void Configuration::fetch_configuration | ( | const char * | _connect_string, |
int | force_nodeid, | ||
const char * | _bind_adress, | ||
NodeId | allocated_nodeid | ||
) |
Fetch configuration from management server
Definition at line 116 of file Configuration.cpp.
void Configuration::setupConfiguration | ( | ) |
Configure transporters
Setup cluster configuration data
Get paths
Create the watch dog thread
Definition at line 277 of file Configuration.cpp.