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

#include <magic_xattr.h>

Inheritance diagram for LogBufferXattr:
Collaboration diagram for LogBufferXattr:

Public Member Functions

 LogBufferXattr ()
- Public Member Functions inherited from BaseMagicXattr
 BaseMagicXattr ()
void MarkProtected ()
bool PrepareValueFencedProtected (gid_t gid)
virtual MagicXattrFlavor GetXattrFlavor ()
void Lock (PathString path, catalog::DirectoryEntry *dirent)
void Release ()
virtual ~BaseMagicXattr ()

Private Member Functions

virtual std::string GetValue ()

Private Attributes

const unsigned int kMaxLogLine = 4096
BackoffThrottle throttle_

Additional Inherited Members

- Protected Member Functions inherited from BaseMagicXattr
virtual bool PrepareValueFenced ()
- Protected Attributes inherited from BaseMagicXattr
PathString path_
pthread_mutex_t access_mutex_
bool is_protected_

Detailed Description

Definition at line 294 of file magic_xattr.h.

Constructor & Destructor Documentation

LogBufferXattr::LogBufferXattr ( )

Definition at line 401 of file

Member Function Documentation

std::string LogBufferXattr::GetValue ( )

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 403 of file

Here is the call graph for this function:

Member Data Documentation

const unsigned int LogBufferXattr::kMaxLogLine = 4096

Definition at line 299 of file magic_xattr.h.

Referenced by GetValue().

BackoffThrottle LogBufferXattr::throttle_

Definition at line 303 of file magic_xattr.h.

Referenced by GetValue().

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