|
Zero
0.1.0
|
#include <scanner.h>
Public Member Functions | |
| BlockScanner (const po::variables_map &options, bitset< logrec_t::t_max_logrec > *filter=nullptr) | |
| virtual | ~BlockScanner () |
| virtual void | run () |
Public Member Functions inherited from BaseScanner | |
| BaseScanner (const po::variables_map &options) | |
| virtual | ~BaseScanner () |
| void | setRestrictFile (string fname) |
| void | add_handler (Handler *h) |
Public Member Functions inherited from basethread_t | |
| basethread_t () | |
| virtual | ~basethread_t () |
Public Member Functions inherited from thread_wrapper_t | |
| thread_wrapper_t () | |
| virtual | ~thread_wrapper_t () |
| void | spawn () |
| void | fork () |
| void | join () |
Private Member Functions | |
| void | findFirstFile () |
| string | getNextFile () |
Private Attributes | |
| LogScanner * | logScanner |
| char * | currentBlock |
| const char * | logdir |
| size_t | blockSize |
| int | pnum |
Additional Inherited Members | |
Static Public Member Functions inherited from basethread_t | |
| static void | start_base () |
| static void | start_buffer () |
| static void | start_log (string logdir) |
| static void | start_archiver (string archdir, size_t wsize, size_t bsize) |
| static void | start_merger (string archdir) |
| static void | start_other () |
| static void | print_stats () |
Public Attributes inherited from BaseScanner | |
| std::function< void(const char *)> | openFileCallback |
Public Attributes inherited from basethread_t | |
| bool | finished |
Protected Member Functions inherited from BaseScanner | |
| virtual void | handle (logrec_t *lr) |
| virtual void | finalize () |
| virtual void | initialize () |
Protected Member Functions inherited from basethread_t | |
| void | begin_xct () |
| void | commit_xct () |
| virtual void | before_run () |
| virtual void | after_run () |
Protected Attributes inherited from BaseScanner | |
| po::variables_map | options |
| vector< Handler * > | handlers |
| string | restrictFile |
Static Protected Attributes inherited from basethread_t | |
| static sm_options | _options |
| BlockScanner::BlockScanner | ( | const po::variables_map & | options, |
| bitset< logrec_t::t_max_logrec > * | filter = nullptr |
||
| ) |
|
virtual |
|
private |
|
private |
|
virtual |
Implements thread_wrapper_t.
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.12