CernVM-FS
2.12.0
|
#include <catalog_traversal.h>
Public Member Functions | |
Parameters () | |
Public Attributes | |
ObjectFetcherT * | object_fetcher |
uint64_t | history |
time_t | timestamp |
bool | no_repeat_history |
bool | no_close |
bool | ignore_load_failure |
bool | quiet |
unsigned int | num_threads |
bool | serialize_callbacks |
Static Public Attributes | |
static const uint64_t | kFullHistory |
static const uint64_t | kNoHistory = 0 |
static const time_t | kNoTimestampThreshold = 0 |
repo_url | the path to the repository to be traversed: -> either absolute path to the local catalogs -> or an URL to a remote repository |
repo_name | fully qualified repository name (used for remote repository signature check) (optional) |
repo_keys | a comma separated list of public key file locations to verify the repository manifest file |
history | depth of the desired catalog history traversal (default: 0 - only HEAD catalogs are traversed) |
timestamp | timestamp of history traversal threshold (default: 0 - no threshold, traverse everything) |
no_repeat_history | keep track of visited catalogs and don't re-visit them in previous revisions |
no_close | do not close catalogs after they were attached (catalogs retain their parent/child pointers) |
ignore_load_failure | suppressed an error message if a catalog file could not be loaded (i.e. was sweeped before by a garbage collection run) |
quiet | silence messages that would go to stderr |
tmp_dir | path to the temporary directory to be used (default: /tmp) |
ONLY FOR CatalogTraversalParallel
num_threads | number of threads concurrently traversing the catalog trees; hint: set up based on CPU utilization and optimal number of download threads (default: 8) |
serialize_callbacks | do not call multiple catalog callbacks concurrently; ensures safe access to shared variables inside the callback; turn off if the registered callback is thread-safe (default: true) |
Definition at line 133 of file catalog_traversal.h.
|
inline |
Definition at line 134 of file catalog_traversal.h.
uint64_t swissknife::CatalogTraversalBase< ObjectFetcherT >::Parameters::history |
Definition at line 151 of file catalog_traversal.h.
bool swissknife::CatalogTraversalBase< ObjectFetcherT >::Parameters::ignore_load_failure |
Definition at line 155 of file catalog_traversal.h.
|
static |
Definition at line 145 of file catalog_traversal.h.
|
static |
|
static |
bool swissknife::CatalogTraversalBase< ObjectFetcherT >::Parameters::no_close |
Definition at line 154 of file catalog_traversal.h.
Referenced by swissknife::CommandMigrate::LoadCatalogs().
bool swissknife::CatalogTraversalBase< ObjectFetcherT >::Parameters::no_repeat_history |
Definition at line 153 of file catalog_traversal.h.
unsigned int swissknife::CatalogTraversalBase< ObjectFetcherT >::Parameters::num_threads |
Definition at line 158 of file catalog_traversal.h.
ObjectFetcherT* swissknife::CatalogTraversalBase< ObjectFetcherT >::Parameters::object_fetcher |
Definition at line 149 of file catalog_traversal.h.
Referenced by swissknife::CommandMigrate::LoadCatalogs(), swissknife::CommandListCatalogs::Run(), swissknife::CommandFileStats::Run(), and swissknife::CommandListReflog::Run().
bool swissknife::CatalogTraversalBase< ObjectFetcherT >::Parameters::quiet |
Definition at line 156 of file catalog_traversal.h.
bool swissknife::CatalogTraversalBase< ObjectFetcherT >::Parameters::serialize_callbacks |
Definition at line 159 of file catalog_traversal.h.
time_t swissknife::CatalogTraversalBase< ObjectFetcherT >::Parameters::timestamp |
Definition at line 152 of file catalog_traversal.h.