libdap Updated for version 3.21.1
libdap4 is an implementation of OPeNDAP's DAP protocol.
HTTPCacheTable.h File Reference
#include <map>
#include <mutex>
#include <string>
#include <vector>
Include dependency graph for HTTPCacheTable.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  libdap::HTTPCacheTable::CacheEntry
 
class  libdap::HTTPCacheTable
 

Namespaces

namespace  libdap
 top level DAP object to house generic methods
 

Macros

#define LM_EXPIRATION(t)
 
#define MAX_LM_EXPIRATION   (48 * 3600)
 
#define NO_LM_EXPIRATION   (24 * 3600)
 

Functions

int libdap::get_hash (const string &url)
 

Variables

const std::string CACHE_EMPTY_ETAG
 
const std::string CACHE_INDEX
 
const std::string CACHE_META
 

Macro Definition Documentation

◆ LM_EXPIRATION

#define LM_EXPIRATION ( t)
Value:
(min((MAX_LM_EXPIRATION), static_cast<int>((t) / 10)))
#define MAX_LM_EXPIRATION

Definition at line 44 of file HTTPCacheTable.h.

◆ MAX_LM_EXPIRATION

#define MAX_LM_EXPIRATION   (48 * 3600)

Definition at line 39 of file HTTPCacheTable.h.

◆ NO_LM_EXPIRATION

#define NO_LM_EXPIRATION   (24 * 3600)

Definition at line 38 of file HTTPCacheTable.h.

Variable Documentation

◆ CACHE_EMPTY_ETAG

const std::string CACHE_EMPTY_ETAG
extern

Definition at line 61 of file HTTPCache.cc.

◆ CACHE_INDEX

const std::string CACHE_INDEX
extern

Definition at line 58 of file HTTPCache.cc.

◆ CACHE_META

const std::string CACHE_META
extern

Definition at line 60 of file HTTPCache.cc.