OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
BESCache::CacheDirInfo Struct Reference

Helper class for info on the cache directory. More...

#include <BESCache.h>

Collaboration diagram for BESCache::CacheDirInfo:
Collaboration graph

List of all members.

Public Member Functions

 CacheDirInfo ()
void clear ()
unsigned long long get_avg_size () const
std::string toString () const
 ~CacheDirInfo ()

Public Attributes

BESCache::CacheFilesByAgeMap _contents
unsigned long long _num_files_in_cache
unsigned long long _total_cache_files_size

Detailed Description

Helper class for info on the cache directory.

Definition at line 74 of file BESCache.h.


Constructor & Destructor Documentation

BESCache::CacheDirInfo::CacheDirInfo ( )
inline

Definition at line 76 of file BESCache.h.

BESCache::CacheDirInfo::~CacheDirInfo ( )
inline

Definition at line 82 of file BESCache.h.

References clear().

Here is the call graph for this function:


Member Function Documentation

void BESCache::CacheDirInfo::clear ( )
inline
unsigned long long BESCache::CacheDirInfo::get_avg_size ( ) const
inline

Definition at line 94 of file BESCache.h.

References _num_files_in_cache, and _total_cache_files_size.

Referenced by BESCache::purge().

std::string BESCache::CacheDirInfo::toString ( ) const
inline

Definition at line 101 of file BESCache.h.

References _num_files_in_cache, and _total_cache_files_size.


Member Data Documentation

BESCache::CacheFilesByAgeMap BESCache::CacheDirInfo::_contents

Definition at line 111 of file BESCache.h.

Referenced by clear(), BESCache::collect_cache_dir_info(), and BESCache::purge().

unsigned long long BESCache::CacheDirInfo::_num_files_in_cache
unsigned long long BESCache::CacheDirInfo::_total_cache_files_size

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