libdap++
Updated for version 3.8.2
|
#include "config.h"
#include <pthread.h>
#include <limits.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <cstring>
#include <iostream>
#include <sstream>
#include <algorithm>
#include <iterator>
#include <set>
#include "Error.h"
#include "InternalErr.h"
#include "ResponseTooBigErr.h"
#include "SignalHandler.h"
#include "HTTPCacheInterruptHandler.h"
#include "HTTPCacheTable.h"
#include "HTTPCacheMacros.h"
#include "util_mit.h"
#include "debug.h"
Go to the source code of this file.
Namespaces | |
namespace | libdap |
Macros | |
#define | LM_EXPIRATION(t) (min((MAX_LM_EXPIRATION), static_cast<int>((t) / 10))) |
#define | MAX_LM_EXPIRATION 48*3600 |
#define | NO_LM_EXPIRATION 24*3600 |
Functions | |
int | libdap::get_hash (const string &url) |
Variables | |
const int | CACHE_TABLE_SIZE = 1499 |
#define LM_EXPIRATION | ( | t | ) | (min((MAX_LM_EXPIRATION), static_cast<int>((t) / 10))) |
Definition at line 64 of file HTTPCacheTable.cc.
Referenced by libdap::HTTPCacheTable::calculate_time().
#define MAX_LM_EXPIRATION 48*3600 |
Definition at line 59 of file HTTPCacheTable.cc.
#define NO_LM_EXPIRATION 24*3600 |
Definition at line 58 of file HTTPCacheTable.cc.
const int CACHE_TABLE_SIZE = 1499 |
Definition at line 67 of file HTTPCacheTable.cc.
Referenced by libdap::HTTPCacheTable::cache_index_write(), libdap::HTTPCacheTable::delete_all_entries(), libdap::HTTPCacheTable::delete_by_hits(), libdap::HTTPCacheTable::delete_by_size(), libdap::HTTPCacheTable::delete_expired_entries(), libdap::get_hash(), libdap::HTTPCacheTable::HTTPCacheTable(), and libdap::HTTPCacheTable::~HTTPCacheTable().