CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CatalogCountersMagicXattr Class Reference

#include <magic_xattr.h>

Inheritance diagram for CatalogCountersMagicXattr:
Collaboration diagram for CatalogCountersMagicXattr:

Private Member Functions

virtual bool PrepareValueFenced ()
 
virtual void FinalizeValue ()
 

Private Attributes

std::string subcatalog_path_
 
shash::Any hash_
 
catalog::Counters counters_
 

Additional Inherited Members

- Public Member Functions inherited from BaseMagicXattr
 BaseMagicXattr ()
 
void MarkProtected ()
 
bool PrepareValueFencedProtected (gid_t gid)
 
std::pair< bool, std::string > GetValue (int32_t requested_page, const MagicXattrMode mode)
 
virtual MagicXattrFlavor GetXattrFlavor ()
 
void Lock (PathString path, catalog::DirectoryEntry *dirent)
 
void Release ()
 
virtual ~BaseMagicXattr ()
 
- Static Public Attributes inherited from BaseMagicXattr
static const uint32_t kMaxCharsPerPage = 40000
 
- Protected Member Functions inherited from BaseMagicXattr
std::string HeaderMultipageHuman (uint32_t requested_page)
 
- Protected Attributes inherited from BaseMagicXattr
MagicXattrManagerxattr_mgr_
 
PathString path_
 
catalog::DirectoryEntrydirent_
 
pthread_mutex_t access_mutex_
 
bool is_protected_
 
std::vector< std::string > result_pages_
 

Detailed Description

Definition at line 277 of file magic_xattr.h.

Member Function Documentation

void CatalogCountersMagicXattr::FinalizeValue ( )
privatevirtual

Reimplemented from BaseMagicXattr.

Definition at line 265 of file magic_xattr.cc.

Here is the call graph for this function:

bool CatalogCountersMagicXattr::PrepareValueFenced ( )
privatevirtual

This function is used to obtain the necessary information while inside FuseRemounter::fence(), which should prevent data races.

Reimplemented from BaseMagicXattr.

Definition at line 258 of file magic_xattr.cc.

Here is the call graph for this function:

Member Data Documentation

catalog::Counters CatalogCountersMagicXattr::counters_
private

Definition at line 280 of file magic_xattr.h.

Referenced by FinalizeValue(), and PrepareValueFenced().

shash::Any CatalogCountersMagicXattr::hash_
private

Definition at line 279 of file magic_xattr.h.

Referenced by FinalizeValue(), and PrepareValueFenced().

std::string CatalogCountersMagicXattr::subcatalog_path_
private

Definition at line 278 of file magic_xattr.h.

Referenced by FinalizeValue(), and PrepareValueFenced().


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