CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
anonymous_namespace{cvmfs_cache_posix.cc}::Settings Struct Reference

Public Member Functions

 Settings ()
 
bool IsValid ()
 

Public Attributes

bool is_alien
 
bool cache_base_defined
 
bool cache_dir_defined
 
int64_t quota_limit
 
std::string cache_path
 
std::string workspace
 
std::string error_reason
 

Detailed Description

Definition at line 51 of file cvmfs_cache_posix.cc.

Constructor & Destructor Documentation

anonymous_namespace{cvmfs_cache_posix.cc}::Settings::Settings ( )
inline

Definition at line 52 of file cvmfs_cache_posix.cc.

Member Function Documentation

bool anonymous_namespace{cvmfs_cache_posix.cc}::Settings::IsValid ( )
inline

Definition at line 57 of file cvmfs_cache_posix.cc.

Member Data Documentation

bool anonymous_namespace{cvmfs_cache_posix.cc}::Settings::cache_base_defined
bool anonymous_namespace{cvmfs_cache_posix.cc}::Settings::cache_dir_defined
std::string anonymous_namespace{cvmfs_cache_posix.cc}::Settings::cache_path
std::string anonymous_namespace{cvmfs_cache_posix.cc}::Settings::error_reason

Definition at line 91 of file cvmfs_cache_posix.cc.

bool anonymous_namespace{cvmfs_cache_posix.cc}::Settings::is_alien
int64_t anonymous_namespace{cvmfs_cache_posix.cc}::Settings::quota_limit

Soft limit in bytes for the cache. The quota manager removes half the cache when the limit is exceeded.

Definition at line 83 of file cvmfs_cache_posix.cc.

Referenced by anonymous_namespace{cvmfs_cache_posix.cc}::GetSettings().

std::string anonymous_namespace{cvmfs_cache_posix.cc}::Settings::workspace

Different from cache_path only if CVMFS_WORKSPACE or CVMFS_CACHE_WORKSPACE is set.

Definition at line 89 of file cvmfs_cache_posix.cc.

Referenced by anonymous_namespace{cvmfs_cache_posix.cc}::GetSettings().


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