CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ExpiresMagicXattr Class Reference
Inheritance diagram for ExpiresMagicXattr:
Collaboration diagram for ExpiresMagicXattr:

Private Member Functions

virtual bool PrepareValueFenced ()
 
virtual std::string GetValue ()
 

Private Attributes

time_t catalogs_valid_until_
 

Additional Inherited Members

- Public Member Functions inherited from BaseMagicXattr
 BaseMagicXattr ()
 
virtual MagicXattrFlavor GetXattrFlavor ()
 
void Lock (PathString path, catalog::DirectoryEntry *dirent)
 
void Release ()
 
virtual ~BaseMagicXattr ()
 
- Protected Attributes inherited from BaseMagicXattr
MountPointmount_point_
 
PathString path_
 
catalog::DirectoryEntrydirent_
 
pthread_mutex_t access_mutex_
 

Detailed Description

Begin section of cvmfs.cc-specific magic extended attributes

Definition at line 1639 of file cvmfs.cc.

Member Function Documentation

virtual std::string ExpiresMagicXattr::GetValue ( )
inlineprivatevirtual

This function needs to be called after PrepareValueFenced(), which prepares the necessary data. It does the computationaly intensive part, which should not be done inside the FuseRemounter::fence(), and returns the value.

Implements BaseMagicXattr.

Definition at line 1647 of file cvmfs.cc.

Here is the call graph for this function:

virtual bool ExpiresMagicXattr::PrepareValueFenced ( )
inlineprivatevirtual

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

Reimplemented from BaseMagicXattr.

Definition at line 1642 of file cvmfs.cc.

Here is the call graph for this function:

Member Data Documentation

time_t ExpiresMagicXattr::catalogs_valid_until_
private

Definition at line 1640 of file cvmfs.cc.


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