CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
swissknife::CatalogTraversalInfoShim< CatalogT > Class Template Reference

#include <catalog_traversal.h>

Inheritance diagram for swissknife::CatalogTraversalInfoShim< CatalogT >:

Public Member Functions

virtual ~CatalogTraversalInfoShim ()
 
virtual uint64_t GetLastModified (const CatalogT *catalog)
 

Detailed Description

template<class CatalogT>
class swissknife::CatalogTraversalInfoShim< CatalogT >

A layer to extract information from a catalog. Users of the catalog traversal can provide derived classes to overwrite behavior. Currently used to get the last-modified timestamp in configurable manner: for the garbage collection, the timestamp of the catalog hash in the reflog counts, which is the same or newer than the one stored in the catalog.

Definition at line 71 of file catalog_traversal.h.

Constructor & Destructor Documentation

template<class CatalogT>
virtual swissknife::CatalogTraversalInfoShim< CatalogT >::~CatalogTraversalInfoShim ( )
inlinevirtual

Definition at line 73 of file catalog_traversal.h.

Member Function Documentation

template<class CatalogT>
virtual uint64_t swissknife::CatalogTraversalInfoShim< CatalogT >::GetLastModified ( const CatalogT *  catalog)
inlinevirtual

Definition at line 76 of file catalog_traversal.h.

Referenced by swissknife::CatalogTraversalBase< ObjectFetcherT >::IsBelowPruningThresholds().

Here is the caller graph for this function:


The documentation for this class was generated from the following file: