CernVM-FS  2.11.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CacheManager::ObjectInfo Struct Reference

#include <cache.h>

Public Member Functions

 ObjectInfo ()
 ObjectInfo (ObjectType t, const std::string &d)

Public Attributes

ObjectType type
std::string description

Detailed Description

Meta-data of an object that the cache may or may not maintain. Good cache implementations should at least distinguish between volatile and regular objects.

Definition at line 89 of file cache.h.

Constructor & Destructor Documentation

CacheManager::ObjectInfo::ObjectInfo ( )

Definition at line 90 of file cache.h.

CacheManager::ObjectInfo::ObjectInfo ( ObjectType  t,
const std::string &  d 

Definition at line 91 of file cache.h.

Member Data Documentation

std::string CacheManager::ObjectInfo::description

Typically the path that triggered storing the object in the cache

Definition at line 97 of file cache.h.

Referenced by PosixCacheManager::CommitTxn(), RamCacheManager::CtrlTxn(), ExternalCacheManager::Flush(), LHashMagicXattr::GetValue(), and anonymous_namespace{}::posix_start_txn().

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