Manages file system broker status.
More...
#include <StatusManager.h>
Manages file system broker status.
Definition at line 44 of file StatusManager.h.
StatusManager::StatusManager |
( |
| ) |
|
void StatusManager::clear_status |
( |
| ) |
|
Status& Hypertable::FsBroker::Lib::StatusManager::get |
( |
| ) |
|
|
inline |
void StatusManager::set_error |
( |
int |
error | ) |
|
|
private |
Sets status to CRITICAL with status text associated with errno.
- Parameters
-
Definition at line 102 of file StatusManager.cc.
void StatusManager::set_read_error |
( |
int |
error | ) |
|
Sets status to CRITICAL with status text associated with errno.
- Parameters
-
Definition at line 66 of file StatusManager.cc.
void StatusManager::set_read_status |
( |
Status::Code |
code, |
|
|
const std::string & |
text |
|
) |
| |
Sets read status.
- Parameters
-
code | Status code. |
text | Status text. |
Definition at line 48 of file StatusManager.cc.
void StatusManager::set_status |
( |
Status::Code |
code, |
|
|
const std::string & |
text |
|
) |
| |
|
private |
Sets status.
- Parameters
-
code | Status code. |
text | Status text. |
Definition at line 96 of file StatusManager.cc.
void StatusManager::set_write_error |
( |
int |
error | ) |
|
Sets status to CRITICAL with status text associated with errno.
- Parameters
-
Definition at line 75 of file StatusManager.cc.
void StatusManager::set_write_status |
( |
Status::Code |
code, |
|
|
const std::string & |
text |
|
) |
| |
Sets write status.
- Parameters
-
code | Status code. |
text | Status text. |
Definition at line 57 of file StatusManager.cc.
Status::Code Hypertable::FsBroker::Lib::StatusManager::m_current_status {} |
|
private |
std::chrono::steady_clock::time_point Hypertable::FsBroker::Lib::StatusManager::m_last_read_error |
|
private |
std::chrono::steady_clock::time_point Hypertable::FsBroker::Lib::StatusManager::m_last_write_error |
|
private |
std::mutex Hypertable::FsBroker::Lib::StatusManager::m_mutex |
|
private |
Mutex for serializaing access to members
Definition at line 87 of file StatusManager.h.
Status Hypertable::FsBroker::Lib::StatusManager::m_status |
|
private |
The documentation for this class was generated from the following files: