Settings for the cache loader.
More...
#include <CacheLoaderSettings.hpp>
|
enum class | LoadStyle { ASYNC
, SYNC
, NONE
} |
| Ways to load the cache.
|
|
Settings for the cache loader.
◆ isAsync()
bool etl::CacheLoaderSettings::isAsync |
( |
| ) |
const |
|
nodiscard |
- Returns
- True if the load style is ASYNC; false otherwise
◆ isDisabled()
bool etl::CacheLoaderSettings::isDisabled |
( |
| ) |
const |
|
nodiscard |
- Returns
- True if the cache is disabled; false otherwise
◆ isSync()
bool etl::CacheLoaderSettings::isSync |
( |
| ) |
const |
|
nodiscard |
- Returns
- True if the load style is SYNC; false otherwise
◆ cachePageFetchSize
size_t etl::CacheLoaderSettings::cachePageFetchSize = 512 |
number of ledger objects to fetch concurrently per marker
◆ loadStyle
LoadStyle etl::CacheLoaderSettings::loadStyle = LoadStyle::ASYNC |
◆ numCacheCursorsFromAccount
size_t etl::CacheLoaderSettings::numCacheCursorsFromAccount = 0 |
number of cursors to fetch from account_tx
◆ numCacheCursorsFromDiff
size_t etl::CacheLoaderSettings::numCacheCursorsFromDiff = 0 |
number of cursors to fetch from diff
◆ numCacheDiffs
size_t etl::CacheLoaderSettings::numCacheDiffs = 32 |
number of diffs to use to generate cursors
◆ numCacheMarkers
size_t etl::CacheLoaderSettings::numCacheMarkers = 48 |
number of markers to use at one time to traverse the ledger
◆ numThreads
size_t etl::CacheLoaderSettings::numThreads = 2 |
number of threads to use for loading cache
The documentation for this struct was generated from the following files: