Class cubpl::server_monitor_task¶
ClassList > cubpl > server_monitor_task
Inherits the following classes: cubthread::task
Public Types¶
| Type | Name |
|---|---|
| enum | server_monitor_state |
Public Types inherited from cubthread::task¶
See cubthread::task
| Type | Name |
|---|---|
| typedef Context | context_type |
Public Functions¶
| Type | Name |
|---|---|
| void | do_monitor () |
| void | execute (context_type & thread_ref) override |
| bool | is_running () const |
| server_monitor_task & | operator= (const server_monitor_task & copy) = delete |
| server_monitor_task & | operator= (server_monitor_task && other) = delete |
| server_monitor_task (server_manager * manager, std::string db_name) |
|
| server_monitor_task (const server_monitor_task & copy) = delete |
|
| server_monitor_task (server_monitor_task && other) = delete |
|
| void | wait_for_ready () |
| ~server_monitor_task () |
Public Functions inherited from cubthread::task¶
See cubthread::task
| Type | Name |
|---|---|
| virtual void | execute (context_type &) = 0 |
| virtual void | retire (void) |
| task (void) = default |
|
| virtual | ~task (void) = default |
Public Types Documentation¶
enum server_monitor_state¶
enum cubpl::server_monitor_task::server_monitor_state {
SERVER_MONITOR_STATE_RUNNING,
SERVER_MONITOR_STATE_STOPPED,
SERVER_MONITOR_STATE_READY_TO_INITIALIZE,
SERVER_MONITOR_STATE_FAILED_TO_FORK,
SERVER_MONITOR_STATE_FAILED_TO_INITIALIZE,
SERVER_MONITOR_STATE_UNKNOWN
};
Public Functions Documentation¶
function do_monitor¶
function execute¶
function is_running¶
function operator=¶
server_monitor_task & cubpl::server_monitor_task::operator= (
const server_monitor_task & copy
) = delete
function operator=¶
server_monitor_task & cubpl::server_monitor_task::operator= (
server_monitor_task && other
) = delete
function server_monitor_task [1/3]¶
function server_monitor_task [2/3]¶
function server_monitor_task [3/3]¶
function wait_for_ready¶
function ~server_monitor_task¶
The documentation for this class was generated from the following file cubrid/src/sp/pl_sr.cpp