|
roo_monitoring
API Documentation for roo_monitoring
|
Write interface for a monitoring collection. More...
#include <roo_monitoring.h>
Public Types | |
| enum | Status { OK , IN_PROGRESS , FAILED } |
| enum | IoState { IOSTATE_OK , IOSTATE_ERROR } |
Public Member Functions | |
| Writer (Collection *collection) | |
| const Collection & | collection () const |
| void | flushAll () |
| Periodically flushes logged data into vault files. | |
| IoState | io_state () const |
| void | flushSome () |
| bool | isFlushInProgress () |
Friends | |
| class | WriteTransaction |
Write interface for a monitoring collection.
Definition at line 52 of file roo_monitoring.h.
| Enumerator | |
|---|---|
| IOSTATE_OK | |
| IOSTATE_ERROR | |
Definition at line 56 of file roo_monitoring.h.
| Enumerator | |
|---|---|
| OK | |
| IN_PROGRESS | |
| FAILED | |
Definition at line 54 of file roo_monitoring.h.
| roo_monitoring::Writer::Writer | ( | Collection * | collection | ) |
Definition at line 38 of file monitoring.cpp.
|
inline |
Definition at line 60 of file roo_monitoring.h.
| void roo_monitoring::Writer::flushAll | ( | ) |
Periodically flushes logged data into vault files.
Definition at line 181 of file monitoring.cpp.
References flushSome().
| void roo_monitoring::Writer::flushSome | ( | ) |
Definition at line 187 of file monitoring.cpp.
References FAILED, roo_monitoring::LogWriter::first_timestamp(), roo_monitoring::Collection::fs(), io_state(), IOSTATE_ERROR, IOSTATE_OK, roo_monitoring::LogReader::isHotRange(), roo_monitoring::VaultFileRef::Lookup(), roo_monitoring::LogReader::nextRange(), OK, roo_monitoring::LogReader::range_floor(), roo_monitoring::Collection::resolution(), and roo_monitoring::VaultFileRef::resolution().
Referenced by flushAll().
|
inline |
Definition at line 65 of file roo_monitoring.h.
Referenced by flushSome().
|
inline |
Definition at line 69 of file roo_monitoring.h.
|
friend |
Definition at line 72 of file roo_monitoring.h.