Store Namespace Reference

Classes

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

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
 
void Controller::create() STUB void Controller Controller nil
 

Typedef Documentation

◆ Entry

Definition at line 48 of file forward.h.

◆ Memory

Definition at line 51 of file forward.h.

◆ Transients

Definition at line 52 of file forward.h.

Enumeration Type Documentation

◆ IoStatus

Enumerator
ioUndecided 
ioWriting 
ioReading 
ioDone 

Definition at line 40 of file forward.h.

Function Documentation

◆ FreeMemory()

◆ Init()

◆ Maintain()

void Store::Maintain ( void *  unused)

Definition at line 1181 of file store.cc.

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

Referenced by mainInitialize().

◆ NewLocalSearch()

StoreSearch * Store::NewLocalSearch ( )

Definition at line 44 of file LocalSearch.cc.

References Store::LocalSearch::next().

Referenced by Store::Controller::search(), and storeDirSwapLog().

◆ Root()

Store::Controller & Store::Root ( )

Definition at line 877 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(), StoreEntry::startWriting(), statObjectsStart(), Stats(), storeCleanup(), storeConfigure(), storeDigestCalcCap(), storeDigestRebuildResume(), storeGetMemSpace(), storeGetPublic(), storeGetPublicByRequestMethod(), testRock::storeInit(), storeInit(), storeSwapOutFileClosed(), StoreEntry::swapOut(), testStoreHashIndex::testMaxSize(), testStoreController::testMaxSize(), testStoreHashIndex::testSearch(), testStoreController::testSearch(), testStore::testSetRoot(), testUfs::testUfsSearch(), testStore::testUnsetRoot(), StoreEntry::transientsAbandonmentCheck(), and Rock::SwapDir::writeError().

◆ Stats()

Variable Documentation

◆ nil

◆ TheRoot

RefCount<Controller> Store::TheRoot
static

Definition at line 873 of file Controller.cc.

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors