|
libdap
Updated for version 3.20.8
libdap4 is an implementation of OPeNDAP's DAP protocol.
|
#include <HTTPCacheTable.h>
Friends | |
| class | DeleteByHits |
| class | DeleteBySize |
| class | DeleteCacheEntry |
| class | DeleteExpired |
| 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 114 of file HTTPCacheTable.h.