CernVM-FS
2.12.0
|
#include <catalog_traversal.h>
Public Member Functions | |
TraversalContext (const uint64_t history_depth, const time_t timestamp_threshold, const TraversalType traversal_type) | |
Public Attributes | |
const uint64_t | history_depth |
const time_t | timestamp_threshold |
const TraversalType | traversal_type |
CatalogJobStack | catalog_stack |
CatalogJobStack | callback_stack |
This struct represents a catalog traversal context. It needs to be re- created for each catalog traversal process and contains information to this specific catalog traversal run.
history_depth | the history traversal threshold |
traversal_type | either breadth or depth first traversal strategy |
catalog_stack | the call stack for catalogs to be traversed |
callback_stack | used in depth first traversal for deferred yielding |
Definition at line 522 of file catalog_traversal.h.
|
inline |
Definition at line 523 of file catalog_traversal.h.
CatalogJobStack swissknife::CatalogTraversal< ObjectFetcherT >::TraversalContext::callback_stack |
CatalogJobStack swissknife::CatalogTraversal< ObjectFetcherT >::TraversalContext::catalog_stack |
Definition at line 533 of file catalog_traversal.h.
Referenced by swissknife::CatalogTraversal< ObjectFetcherT >::DoTraverse(), swissknife::CatalogTraversal< ObjectFetcherT >::Pop(), and swissknife::CatalogTraversal< ObjectFetcherT >::Push().
const uint64_t swissknife::CatalogTraversal< ObjectFetcherT >::TraversalContext::history_depth |
Definition at line 530 of file catalog_traversal.h.
Referenced by swissknife::CatalogTraversal< ObjectFetcherT >::PushPreviousRevision().
const time_t swissknife::CatalogTraversal< ObjectFetcherT >::TraversalContext::timestamp_threshold |
Definition at line 531 of file catalog_traversal.h.
Referenced by swissknife::CatalogTraversal< ObjectFetcherT >::PushPreviousRevision().
const TraversalType swissknife::CatalogTraversal< ObjectFetcherT >::TraversalContext::traversal_type |