Store Namespace Reference

Classes

class  DiskConfig
 
class  Controlled
 
class  Controller
 
class  Disk
 manages a single cache_dir More...
 
class  Disks
 summary view of all disk caches (cache_dirs) combined More...
 
class  LocalSearch
 iterates local store_table More...
 
class  Storage
 
class  EntryGuard
 

Typedefs

typedef ::StoreEntry Entry
 
typedef ::MemStore Memory
 
typedef ::Transients Transients
 

Enumerations

enum  IoStatus {
  ioUndecided,
  ioWriting,
  ioReading,
  ioDone
}
 cache "I/O" direction and status More...
 

Functions

ControllerRoot ()
 safely access controller singleton More...
 
void Init (Controller *root=nullptr)
 initialize the storage module; a custom root is used by unit tests only More...
 
void FreeMemory ()
 undo Init() More...
 
StoreSearchNewLocalSearch ()
 
void Stats (StoreEntry *output)
 
void Maintain (void *unused)
 

Variables

static RefCount< ControllerTheRoot
 

Typedef Documentation

Definition at line 48 of file forward.h.

Definition at line 51 of file forward.h.

Definition at line 52 of file forward.h.

Enumeration Type Documentation

Enumerator
ioUndecided 
ioWriting 
ioReading 
ioDone 

Definition at line 40 of file forward.h.

Function Documentation

void Store::Maintain ( void *  unused)

Definition at line 1183 of file store.cc.

References eventAdd(), Store::Controller::maintain(), NULL, and Root().

Referenced by mainInitialize().

StoreSearch * Store::NewLocalSearch ( )

Definition at line 44 of file LocalSearch.cc.

Referenced by Store::Controller::search().

Store::Controller & Store::Root ( )

Definition at line 848 of file Controller.cc.

References assert, and TheRoot.

Referenced by CollapsedForwarding::Broadcast(), StoreRootEngine::checkEvents(), CheckQuickAbortIsReasonable(), MemStore::completeWriting(), clientReplyContext::createStoreEntry(), StoreEntry::destroyMemObject(), Rock::SwapDir::disconnect(), MemStore::disconnect(), StoreEntry::doAbandon(), Fs::Ufs::RebuildState::evictStaleAndContinue(), GetInfo(), clientReplyContext::handleIMSReply(), CollapsedForwarding::HandleNewData(), Store::Disks::init(), MemStore::init(), Store::Controller::maintain(), Maintain(), StoreEntry::mayStartSwapOut(), neighborsHtcpReply(), neighborsUdpAck(), peerDigestFetchReply(), clientReplyContext::processExpired(), purgeEntriesByUrl(), StoreEntry::release(), DiskdIOStrategy::SEND(), Ipc::StoreMapAnchor::setKey(), StoreEntry::setPrivateKey(), StoreEntry::setPublicKey(), snmp_confFn(), snmp_prfProtoFn(), snmp_sysFn(), SquidMain(), SquidShutdown(), statObjectsStart(), Stats(), storeCleanup(), storeConfigure(), storeDigestCalcCap(), storeDigestRebuildResume(), storeGetMemSpace(), storeGetPublic(), storeGetPublicByRequestMethod(), testRock::storeInit(), storeInit(), storeSwapOutFileClosed(), StoreEntry::swapOut(), testStoreController::testMaxSize(), testStoreHashIndex::testMaxSize(), testStoreHashIndex::testSearch(), testStoreController::testSearch(), testStore::testSetRoot(), testUfs::testUfsSearch(), testStore::testUnsetRoot(), StoreEntry::transientsAbandonmentCheck(), Rock::IoState::tryWrite(), and Rock::SwapDir::writeError().

Variable Documentation

RefCount<Controller> Store::TheRoot
static

Definition at line 844 of file Controller.cc.

Referenced by FreeMemory(), Init(), and Root().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors