|
MySQL 5.6.14 Source Code Document
|
Manages processes, letting them be controlled with a TCP connection. More...
#include <CPCD.hpp>

Classes | |
| class | Monitor |
| Starts and stops processes as needed. More... | |
| class | Process |
| Manages a process. More... | |
| class | RequestStatus |
| Describes the status of a client request. More... | |
Public Member Functions | |
| CPCD () | |
| Constructs a CPCD object. | |
| ~CPCD () | |
| Destroys a CPCD object, but does not stop the processes it manages. | |
| bool | defineProcess (RequestStatus *rs, Process *arg) |
| bool | undefineProcess (RequestStatus *rs, int id) |
| bool | startProcess (RequestStatus *rs, int id) |
| bool | stopProcess (RequestStatus *rs, int id) |
| bool | listProcesses (RequestStatus *rs, MutexVector< const char * > &) |
| bool | saveProcessList () |
| bool | loadProcessList () |
| MutexVector< Process * > * | getProcessList () |
Public Attributes | |
| bool | loadingProcessList |
| MutexVector< Process * > | m_processes |
Friends | |
| class | Process |
Manages processes, letting them be controlled with a TCP connection.
The class implementing the Cluster Process Control Daemon
| bool CPCD::defineProcess | ( | RequestStatus * | rs, |
| Process * | arg | ||
| ) |
Adds a Process to the CPCDs list of managed Processes.
Definition at line 73 of file CPCD.cpp.

| MutexVector< CPCD::Process * > * CPCD::getProcessList | ( | ) |
| bool CPCD::listProcesses | ( | RequestStatus * | rs, |
| MutexVector< const char * > & | |||
| ) |
Generates a list of processes, and sends them to the CPCD client
| bool CPCD::loadProcessList | ( | ) |
| bool CPCD::saveProcessList | ( | ) |
| bool CPCD::startProcess | ( | CPCD::RequestStatus * | rs, |
| int | id | ||
| ) |
Marks a Process for starting.
Definition at line 138 of file CPCD.cpp.

| bool CPCD::stopProcess | ( | CPCD::RequestStatus * | rs, |
| int | id | ||
| ) |
Marks a Process for stopping.
Definition at line 183 of file CPCD.cpp.

| bool CPCD::undefineProcess | ( | CPCD::RequestStatus * | rs, |
| int | id | ||
| ) |
Removes a Process from the CPCD.
Definition at line 104 of file CPCD.cpp.


| bool CPCD::loadingProcessList |
| MutexVector<Process *> CPCD::m_processes |