CernVM-FS
2.12.0
|
#include <catalog_traversal.h>
Public Member Functions | |
CatalogJob (const std::string &path, const shash::Any &hash, const unsigned tree_level, const uint64_t history_depth, CatalogTN *parent=NULL) | |
bool | IsRootCatalog () const |
CallbackDataTN | GetCallbackData () const |
Public Attributes | |
const std::string | path |
const shash::Any | hash |
const unsigned | tree_level |
const uint64_t | history_depth |
CatalogTN * | parent |
std::string | catalog_file_path |
size_t | catalog_file_size |
bool | ignore |
CatalogTN * | catalog |
uint64_t | referenced_catalogs |
bool | postponed |
This struct keeps information about a catalog that still needs to be traversed by a currently running catalog traversal process.
Definition at line 274 of file catalog_traversal.h.
|
inline |
Definition at line 275 of file catalog_traversal.h.
|
inline |
Definition at line 293 of file catalog_traversal.h.
Referenced by swissknife::CatalogTraversalParallel< ObjectFetcherT >::ProcessJobPost(), and swissknife::CatalogTraversal< ObjectFetcherT >::Yield().
|
inline |
Definition at line 291 of file catalog_traversal.h.
Referenced by swissknife::CatalogTraversalBase< ObjectFetcherT >::IsBelowPruningThresholds(), swissknife::CatalogTraversalBase< ObjectFetcherT >::PrepareCatalog(), and swissknife::CatalogTraversalBase< ObjectFetcherT >::ReopenCatalog().
CatalogTN* swissknife::CatalogTraversalBase< ObjectFetcherT >::CatalogJob::catalog |
Definition at line 309 of file catalog_traversal.h.
Referenced by swissknife::CatalogTraversalBase< ObjectFetcherT >::CloseCatalog(), swissknife::CatalogTraversalBase< ObjectFetcherT >::CatalogJob::GetCallbackData(), swissknife::CatalogTraversalBase< ObjectFetcherT >::IsBelowPruningThresholds(), swissknife::CatalogTraversalBase< ObjectFetcherT >::PrepareCatalog(), swissknife::CatalogTraversalParallel< ObjectFetcherT >::ProcessJobPost(), swissknife::CatalogTraversalParallel< ObjectFetcherT >::ProcessJobPre(), swissknife::CatalogTraversalParallel< ObjectFetcherT >::PushNestedCatalogs(), swissknife::CatalogTraversal< ObjectFetcherT >::PushNestedCatalogs(), swissknife::CatalogTraversalParallel< ObjectFetcherT >::PushPreviousRevision(), swissknife::CatalogTraversal< ObjectFetcherT >::PushPreviousRevision(), swissknife::CatalogTraversal< ObjectFetcherT >::PushReferencedCatalogs(), swissknife::CatalogTraversalBase< ObjectFetcherT >::ReopenCatalog(), swissknife::CatalogTraversal< ObjectFetcherT >::Yield(), and swissknife::CatalogTraversal< ObjectFetcherT >::YieldToListeners().
std::string swissknife::CatalogTraversalBase< ObjectFetcherT >::CatalogJob::catalog_file_path |
size_t swissknife::CatalogTraversalBase< ObjectFetcherT >::CatalogJob::catalog_file_size |
Definition at line 307 of file catalog_traversal.h.
Referenced by swissknife::CatalogTraversalBase< ObjectFetcherT >::CatalogJob::GetCallbackData(), and swissknife::CatalogTraversalBase< ObjectFetcherT >::PrepareCatalog().
const shash::Any swissknife::CatalogTraversalBase< ObjectFetcherT >::CatalogJob::hash |
Definition at line 300 of file catalog_traversal.h.
Referenced by swissknife::CatalogTraversalParallel< ObjectFetcherT >::FinalizeJob(), swissknife::CatalogTraversalBase< ObjectFetcherT >::CatalogJob::GetCallbackData(), swissknife::CatalogTraversal< ObjectFetcherT >::MarkAsVisited(), swissknife::CatalogTraversalBase< ObjectFetcherT >::PrepareCatalog(), swissknife::CatalogTraversalParallel< ObjectFetcherT >::PushJobUnlocked(), swissknife::CatalogTraversalBase< ObjectFetcherT >::ReopenCatalog(), and swissknife::CatalogTraversal< ObjectFetcherT >::ShouldBeSkipped().
const uint64_t swissknife::CatalogTraversalBase< ObjectFetcherT >::CatalogJob::history_depth |
Definition at line 302 of file catalog_traversal.h.
Referenced by swissknife::CatalogTraversalBase< ObjectFetcherT >::CatalogJob::GetCallbackData(), swissknife::CatalogTraversalBase< ObjectFetcherT >::IsBelowPruningThresholds(), swissknife::CatalogTraversalParallel< ObjectFetcherT >::PushNestedCatalogs(), swissknife::CatalogTraversal< ObjectFetcherT >::PushNestedCatalogs(), swissknife::CatalogTraversalParallel< ObjectFetcherT >::PushPreviousRevision(), and swissknife::CatalogTraversal< ObjectFetcherT >::PushPreviousRevision().
bool swissknife::CatalogTraversalBase< ObjectFetcherT >::CatalogJob::ignore |
Definition at line 308 of file catalog_traversal.h.
Referenced by swissknife::CatalogTraversal< ObjectFetcherT >::DoTraverse(), swissknife::CatalogTraversalBase< ObjectFetcherT >::PrepareCatalog(), swissknife::CatalogTraversalParallel< ObjectFetcherT >::ProcessJobPre(), swissknife::CatalogTraversal< ObjectFetcherT >::PushReferencedCatalogs(), swissknife::CatalogTraversalBase< ObjectFetcherT >::ReopenCatalog(), swissknife::CatalogTraversal< ObjectFetcherT >::Yield(), and swissknife::CatalogTraversal< ObjectFetcherT >::YieldToListeners().
CatalogTN* swissknife::CatalogTraversalBase< ObjectFetcherT >::CatalogJob::parent |
Definition at line 303 of file catalog_traversal.h.
Referenced by swissknife::CatalogTraversalBase< ObjectFetcherT >::PrepareCatalog(), and swissknife::CatalogTraversalBase< ObjectFetcherT >::ReopenCatalog().
const std::string swissknife::CatalogTraversalBase< ObjectFetcherT >::CatalogJob::path |
Definition at line 299 of file catalog_traversal.h.
Referenced by spec_builder.SpecPoint::__eq__(), spec_builder.SpecPoint::__gt__(), spec_builder.TracePoint::__gt__(), spec_builder.SpecPoint::__lt__(), spec_builder.TracePoint::__lt__(), spec_builder.SpecPoint::__ne__(), spec_builder.TracePoint::__ne__(), spec_builder.SpecPoint::__str__(), spec_builder.SpecPoint::isParentOf(), swissknife::CatalogTraversalBase< ObjectFetcherT >::PrepareCatalog(), and swissknife::CatalogTraversalBase< ObjectFetcherT >::ReopenCatalog().
bool swissknife::CatalogTraversalBase< ObjectFetcherT >::CatalogJob::postponed |
Definition at line 311 of file catalog_traversal.h.
Referenced by swissknife::CatalogTraversal< ObjectFetcherT >::PostponeYield(), and swissknife::CatalogTraversal< ObjectFetcherT >::Yield().
uint64_t swissknife::CatalogTraversalBase< ObjectFetcherT >::CatalogJob::referenced_catalogs |
Definition at line 310 of file catalog_traversal.h.
Referenced by swissknife::CatalogTraversal< ObjectFetcherT >::HandlePostponedYields(), swissknife::CatalogTraversal< ObjectFetcherT >::PostponeYield(), swissknife::CatalogTraversal< ObjectFetcherT >::PushReferencedCatalogs(), and swissknife::CatalogTraversal< ObjectFetcherT >::YieldToListeners().
const unsigned swissknife::CatalogTraversalBase< ObjectFetcherT >::CatalogJob::tree_level |
Definition at line 301 of file catalog_traversal.h.
Referenced by swissknife::CatalogTraversalBase< ObjectFetcherT >::CatalogJob::GetCallbackData(), swissknife::CatalogTraversalBase< ObjectFetcherT >::CatalogJob::IsRootCatalog(), swissknife::CatalogTraversalParallel< ObjectFetcherT >::PushNestedCatalogs(), and swissknife::CatalogTraversal< ObjectFetcherT >::PushNestedCatalogs().