Store.h File Reference
#include "base/Packable.h"
#include "base/Range.h"
#include "base/RefCount.h"
#include "comm/forward.h"
#include "CommRead.h"
#include "hash.h"
#include "http/forward.h"
#include "http/RequestMethod.h"
#include "HttpReply.h"
#include "MemObject.h"
#include "RemovalPolicy.h"
#include "store/Controller.h"
#include "store/forward.h"
#include "store_key_md5.h"
#include "StoreIOBuffer.h"
#include "StoreStats.h"
#include "esi/Element.h"
#include <ostream>
Include dependency graph for Store.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  StoreEntry
 
class  NullStoreEntry
 

Namespaces

 Store
 

Typedefs

typedef void(* STOREGETCLIENT )(StoreEntry *, void *cbdata)
 

Functions

std::ostream & operator<< (std::ostream &os, const StoreEntry &e)
 
void Store::Stats (StoreEntry *output)
 
void Store::Maintain (void *unused)
 
size_t storeEntryInUse ()
 
const char * storeEntryFlags (const StoreEntry *)
 
void storeEntryReplaceObject (StoreEntry *, HttpReply *)
 
StoreEntrystoreGetPublic (const char *uri, const HttpRequestMethod &method)
 
StoreEntrystoreGetPublicByRequest (HttpRequest *request, const KeyScope keyScope=ksDefault)
 
StoreEntrystoreGetPublicByRequestMethod (HttpRequest *request, const HttpRequestMethod &method, const KeyScope keyScope=ksDefault)
 
StoreEntrystoreCreateEntry (const char *, const char *, const RequestFlags &, const HttpRequestMethod &)
 
StoreEntrystoreCreatePureEntry (const char *storeId, const char *logUrl, const RequestFlags &, const HttpRequestMethod &)
 
void storeInit (void)
 
void storeConfigure (void)
 
void storeFreeMemory (void)
 
int expiresMoreThan (time_t, time_t)
 
void storeAppendPrintf (StoreEntry *, const char *,...) PRINTF_FORMAT_ARG2
 
void storeAppendVPrintf (StoreEntry *, const char *, va_list ap)
 
int storeTooManyDiskFilesOpen (void)
 
void storeHeapPositionUpdate (StoreEntry *, SwapDir *)
 
void storeSwapFileNumberSet (StoreEntry *e, sfileno filn)
 
void storeFsInit (void)
 
void storeFsDone (void)
 
void storeReplAdd (const char *, REMOVALPOLICYCREATE *)
 
void storeGetMemSpace (int size)
 

Variables

StoreIoStats store_io_stats
 
FREE destroyStoreEntry
 

Typedef Documentation

typedef void(* STOREGETCLIENT)(StoreEntry *, void *cbdata)

Definition at line 310 of file Store.h.

Function Documentation

int expiresMoreThan ( time_t  ,
time_t   
)

Definition at line 1476 of file store.cc.

References squid_curtime.

void storeAppendPrintf ( StoreEntry ,
const char *  ,
  ... 
)

Definition at line 904 of file store.cc.

References assert, and StoreEntry::vappendf().

Referenced by DiskThreadsIOStrategy::aioStats(), asnStats(), cacheDigestGuessStatsReport(), cacheDigestReport(), carpCachemgr(), cbdataDump(), clientdbDump(), commIncomingStats(), Auth::User::CredentialsCacheStats(), DelaySpec::dump(), DelayPool::dump(), ClientDelayPool::dump(), Mgr::FunAction::dump(), Mgr::MenuAction::dump(), MessageDelayPool::dump(), Fs::Ufs::UFSSwapDir::dump(), Mgr::StoreIoAction::dump(), Format::Format::dump(), EventScheduler::dump(), Ipc::ReadWriteLockStats::dump(), Mgr::ReconfigureAction::dump(), DiskdAction::dump(), Mgr::RotateAction::dump(), Mgr::OfflineToggleAction::dump(), Note::dump(), Auth::SchemeConfig::dump(), Mgr::InfoAction::dump(), dump_access_log(), dump_acl(), dump_acl_address(), dump_acl_b_size_t(), dump_acl_tos(), dump_address(), dump_b_int64_t(), dump_b_size_t(), dump_b_ssize_t(), dump_cachedir(), dump_cachemgrpasswd(), dump_CpuAffinityMap(), dump_denyinfo(), dump_externalAclHelper(), dump_generic_port(), dump_HeaderWithAclList(), dump_icap_service_failure_limit(), dump_int(), dump_int64_t(), dump_IpAddress_list(), dump_kb_int64_t(), dump_memcachemode(), dump_onoff(), dump_peer(), dump_peer_options(), dump_peers(), dump_PortCfg(), dump_refreshpattern(), dump_removalpolicy(), dump_sslproxy_cert_adapt(), dump_sslproxy_cert_sign(), dump_string(), dump_time_msec(), dump_time_t(), dump_tristate(), dump_u_short(), dump_uri_whitespace(), dump_UrlHelperTimeout(), dump_wccp2_amethod(), dump_wccp2_method(), dump_wccp2_service(), dump_wccp2_service_info(), dump_wordlist(), DumpAvgStat(), DumpCountersStats(), PconnPool::dumpHash(), PconnPool::dumpHist(), DumpInfo(), DumpIoStats(), DumpMallocStatistics(), DelayConfig::dumpPoolCount(), ClientDelayConfig::dumpPoolCount(), Rock::SwapDir::dumpRateOption(), Adaptation::Config::dumpService(), Adaptation::Config::DumpServiceGroups(), DumpServiceTimesStats(), Rock::SwapDir::dumpSizeOption(), fde::DumpStats(), fde::dumpStats(), Rock::SwapDir::dumpTimeOption(), externalAclStats(), fqdnStats(), fwdStats(), gopherEndHTML(), gopherHTMLFooter(), gopherHTMLHeader(), gopherToHTML(), header_mangler_dump_access(), header_mangler_dump_replacement(), httpHdrCcStatDumper(), httpHdrScStatDumper(), httpHdrScTargetStatDumper(), httpHeaderFieldStatDumper(), httpHeaderFldsPerHdrDumper(), httpHeaderStatDump(), httpHeaderStoreReport(), idnsStats(), ipcacheStatPrint(), lru_stats(), netdbBinaryExchange(), netdbDump(), Fs::Ufs::UFSSwapDir::optionIODump(), Store::Disk::optionObjectSizeDump(), DiskdIOStrategy::optionQ1Dump(), DiskdIOStrategy::optionQ2Dump(), Store::Disk::optionReadOnlyDump(), peerDigestStatsReport(), peerSourceHashCachemgr(), peerUserHashCachemgr(), printRadixNode(), redirectStats(), refreshCountsStats(), refreshCountsStatsEntry(), refreshStats(), squidaio_stats(), Store::Disks::stat(), Store::Controller::stat(), Store::Disk::stat(), MemStore::stat(), Transients::stat(), stat_ipcache_get(), statClientRequests(), statCountersHistograms(), statDigestBlob(), Fs::Ufs::UFSSwapDir::statfs(), DiskdIOStrategy::statfs(), Rock::SwapDir::statfs(), statHistBinDumper(), statHistEnumDumper(), statHistIntDumper(), statHistSBufDumper(), statObjects(), statPeerSelect(), DelaySpec::stats(), DelayBucket::stats(), DelayTaggedBucket::stats(), DelayUserBucket::stats(), DelayTagged::stats(), DelayUser::stats(), DelayPools::Stats(), Aggregate::stats(), VectorPool::stats(), ClassCBucket::stats(), ClassCHostPool::stats(), statUtilization(), storeCheckCachableStats(), storeDigestReport(), storeIdStats(), storeLogTagsHist(), xprof_show_item(), xprof_summary(), and xprof_summary_item().

void storeAppendVPrintf ( StoreEntry ,
const char *  ,
va_list  ap 
)

Definition at line 914 of file store.cc.

References StoreEntry::vappendf().

void storeConfigure ( void  )

Definition at line 1404 of file store.cc.

References Store::Root(), and Store::Controller::updateLimits().

Referenced by configDoConfigure(), and storeSwapOutFileClosed().

size_t storeEntryInUse ( )
void storeEntryReplaceObject ( StoreEntry ,
HttpReply  
)
void storeFreeMemory ( void  )

Definition at line 1466 of file store.cc.

References Store::FreeMemory(), NULL, and store_digest.

Referenced by SquidShutdown().

void storeFsDone ( void  )
void storeFsInit ( void  )

Definition at line 1764 of file store.cc.

References storeReplSetup().

Referenced by SquidMain().

StoreEntry* storeGetPublicByRequestMethod ( HttpRequest request,
const HttpRequestMethod method,
const KeyScope  keyScope = ksDefault 
)
void storeHeapPositionUpdate ( StoreEntry ,
SwapDir  
)
void storeReplAdd ( const char *  ,
REMOVALPOLICYCREATE  
)
void storeSwapFileNumberSet ( StoreEntry e,
sfileno  filn 
)
int storeTooManyDiskFilesOpen ( void  )

Variable Documentation

StoreIoStats store_io_stats

Definition at line 16 of file store_io.cc.

Referenced by Mgr::StoreIoAction::collect().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors