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

#include <mountpoint.h>

Inheritance diagram for StatfsCache:
Collaboration diagram for StatfsCache:

Public Member Functions

 StatfsCache (uint64_t cacheValid)
 
 ~StatfsCache ()
 
uint64_t * expiry_deadline ()
 
const uint64_t cache_timeout ()
 
struct statvfs * info ()
 
pthread_mutex_t * lock ()
 

Private Attributes

pthread_mutex_t * lock_
 
uint64_t expiry_deadline_
 
uint64_t cache_timeout_
 
struct statvfs info_
 

Additional Inherited Members

- Private Member Functions inherited from SingleCopy
 SingleCopy ()
 

Detailed Description

The StatfsCache class is a class purely designed as "struct" (= holding object for all its parameters). All its logic, including the locking mechanism, is implemented in the function cvmfs_statfs in cvmfs.cc

Definition at line 432 of file mountpoint.h.

Constructor & Destructor Documentation

StatfsCache::StatfsCache ( uint64_t  cacheValid)
inlineexplicit

Definition at line 434 of file mountpoint.h.

Here is the call graph for this function:

StatfsCache::~StatfsCache ( )
inline

Definition at line 442 of file mountpoint.h.

Member Function Documentation

const uint64_t StatfsCache::cache_timeout ( )
inline

Definition at line 447 of file mountpoint.h.

Referenced by cvmfs::cvmfs_statfs().

Here is the caller graph for this function:

uint64_t* StatfsCache::expiry_deadline ( )
inline

Definition at line 446 of file mountpoint.h.

Referenced by cvmfs::cvmfs_statfs().

Here is the caller graph for this function:

struct statvfs* StatfsCache::info ( )
inline

Definition at line 448 of file mountpoint.h.

Referenced by cvmfs::cvmfs_statfs().

Here is the caller graph for this function:

pthread_mutex_t* StatfsCache::lock ( )
inline

Definition at line 449 of file mountpoint.h.

Referenced by cvmfs::cvmfs_statfs().

Here is the caller graph for this function:

Member Data Documentation

uint64_t StatfsCache::cache_timeout_
private

Definition at line 456 of file mountpoint.h.

Referenced by cache_timeout().

uint64_t StatfsCache::expiry_deadline_
private

Definition at line 454 of file mountpoint.h.

Referenced by expiry_deadline().

struct statvfs StatfsCache::info_
private

Definition at line 457 of file mountpoint.h.

Referenced by info(), and StatfsCache().

pthread_mutex_t* StatfsCache::lock_
private

Definition at line 452 of file mountpoint.h.

Referenced by lock(), StatfsCache(), and ~StatfsCache().


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