libdap Updated for version 3.21.1
libdap4 is an implementation of OPeNDAP's DAP protocol.
|
#include <HTTPCacheTable.h>
Public Member Functions | |
CacheEntry ()=default | |
CacheEntry (std::string u) | |
std::string | get_cachename () const |
time_t | get_corrected_initial_age () const |
std::string | get_etag () const |
time_t | get_expires () const |
time_t | get_freshness_lifetime () const |
time_t | get_lm () const |
time_t | get_max_age () const |
bool | get_must_revalidate () const |
time_t | get_response_time () const |
bool | is_no_cache () const |
void | lock_read_response () |
void | lock_write_response () |
void | set_no_cache (bool state) |
void | set_size (unsigned long sz) |
void | unlock_read_response () |
void | unlock_write_response () |
Friends | |
class | HTTPCacheTable |
class | HTTPCacheTest |
class | WriteOneCacheEntry |
A struct used to store information about responses in the cache's volatile memory.
About entry locking: An entry is locked using both a mutex and a counter. The counter keeps track of how many clients are accessing a given entry while the mutex provides a guarantee that updates to the counter are MT-safe. In addition, the HTTPCacheTable object maintains a map which binds the FILE* returned to a client with a given entry. This way the client can tell the HTTPCacheTable object that it is done with FILE *response
and the class can arrange to update the lock counter and mutex.
Definition at line 79 of file HTTPCacheTable.h.
|
default |
|
inlineexplicit |
Definition at line 169 of file HTTPCacheTable.h.
|
inline |
Definition at line 116 of file HTTPCacheTable.h.
|
inline |
Definition at line 132 of file HTTPCacheTable.h.
|
inline |
Definition at line 118 of file HTTPCacheTable.h.
|
inline |
Definition at line 122 of file HTTPCacheTable.h.
|
inline |
Definition at line 128 of file HTTPCacheTable.h.
|
inline |
Definition at line 120 of file HTTPCacheTable.h.
|
inline |
Definition at line 124 of file HTTPCacheTable.h.
|
inline |
Definition at line 134 of file HTTPCacheTable.h.
|
inline |
Definition at line 130 of file HTTPCacheTable.h.
|
inline |
Definition at line 138 of file HTTPCacheTable.h.
|
inline |
Definition at line 140 of file HTTPCacheTable.h.
|
inline |
Definition at line 160 of file HTTPCacheTable.h.
|
inline |
Definition at line 136 of file HTTPCacheTable.h.
|
inline |
Definition at line 126 of file HTTPCacheTable.h.
|
inline |
Definition at line 152 of file HTTPCacheTable.h.
|
inline |
Definition at line 162 of file HTTPCacheTable.h.
|
friend |
Definition at line 109 of file HTTPCacheTable.h.
|
friend |
Definition at line 110 of file HTTPCacheTable.h.
|
friend |
Definition at line 113 of file HTTPCacheTable.h.