CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
manifest::Breadcrumb Struct Reference

#include <manifest.h>

Collaboration diagram for manifest::Breadcrumb:

Public Member Functions

 Breadcrumb ()
 
 Breadcrumb (const shash::Any &h, uint64_t t)
 
 Breadcrumb (const std::string &from_string)
 
bool Export (const std::string &fqrn, const std::string &directory, const int mode) const
 
std::string ToString () const
 
bool IsValid () const
 

Public Attributes

shash::Any catalog_hash
 
uint64_t timestamp
 

Detailed Description

The breadcrumb stores the catalog root hash and a time stamp. It is used to store the last known copy of the catalog in the cache.

Definition at line 22 of file manifest.h.

Constructor & Destructor Documentation

manifest::Breadcrumb::Breadcrumb ( )
inline

Definition at line 23 of file manifest.h.

manifest::Breadcrumb::Breadcrumb ( const shash::Any h,
uint64_t  t 
)
inline

Definition at line 24 of file manifest.h.

manifest::Breadcrumb::Breadcrumb ( const std::string &  from_string)
explicit

Definition at line 17 of file manifest.cc.

Here is the call graph for this function:

Member Function Documentation

bool manifest::Breadcrumb::Export ( const std::string &  fqrn,
const std::string &  directory,
const int  mode 
) const

Definition at line 36 of file manifest.cc.

Referenced by manifest::Manifest::ExportBreadcrumb(), and PosixCacheManager::StoreBreadcrumb().

Here is the call graph for this function:

Here is the caller graph for this function:

bool manifest::Breadcrumb::IsValid ( ) const
inline

Definition at line 30 of file manifest.h.

Referenced by CachePlugin::HandleBreadcrumbLoad(), TieredCacheManager::LoadBreadcrumb(), catalog::ClientCatalogManager::LoadCatalog(), and anonymous_namespace{cvmfs_cache_posix.cc}::posix_breadcrumb_load().

Here is the call graph for this function:

Here is the caller graph for this function:

std::string manifest::Breadcrumb::ToString ( ) const

Definition at line 60 of file manifest.cc.

Here is the call graph for this function:

Member Data Documentation


The documentation for this struct was generated from the following files: