|
roo_monitoring
API Documentation for roo_monitoring
|
In-memory cache of log directory entries. More...
#include <log.h>
Public Member Functions | |
| CachedLogDir (roo_io::Filesystem &fs, const char *log_dir) | |
| Creates a cache for a specific filesystem and log directory. | |
| void | insert (int64_t entry) |
| Inserts an entry into the cache. | |
| void | erase (int64_t entry) |
| Removes an entry from the cache. | |
| std::vector< int64_t > | list () |
| Returns the cached entries sorted by timestamp. | |
|
inline |
|
inline |
Removes an entry from the cache.
Definition at line 48 of file log.h.
Referenced by roo_monitoring::LogReader::deleteRange().
|
inline |
Inserts an entry into the cache.
Definition at line 42 of file log.h.
Referenced by roo_monitoring::LogWriter::open().
| std::vector< int64_t > roo_monitoring::CachedLogDir::list | ( | ) |