libdap++  Updated for version 3.8.2
HTTPCacheTable.cc File Reference
#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"
Include dependency graph for HTTPCacheTable.cc:

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
 

Macro Definition Documentation

#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.

Variable Documentation