#include "squid.h"#include "event.h"#include "fde.h"#include "Store.h"#include "CacheManager.h"#include "StoreClient.h"#include "stmem.h"#include "HttpReply.h"#include "HttpRequest.h"#include "MemObject.h"#include "mem_node.h"#include "StoreMeta.h"#include "SwapDir.h"#include "DelayPools.h"#include "Stack.h"#include "SquidTime.h"#include "swap_log_op.h"#include "comm.h"#include "Store.cci"
Go to the source code of this file.
Define Documentation
Typedef Documentation
| typedef struct _storerepl_entry storerepl_entry_t |
Function Documentation
| RemovalPolicy* createRemovalPolicy | ( | RemovalPolicySettings * | settings | ) |
Definition at line 1733 of file store.cc.
References RemovalPolicySettings::args, _storerepl_entry::create, debugs, fatalf(), RemovalPolicySettings::type, and _storerepl_entry::typestr.
Referenced by testNull::commonInit(), testCoss::commonInit(), UFSSwapDir::parse(), storeInit(), testUfs::testUfsDefaultEngine(), and testUfs::testUfsSearch().
| void destroyStoreEntry | ( | void * | data | ) |
Definition at line 391 of file store.cc.
References assert, debugs, StoreEntry::destroyMemObject(), NullStoreEntry::getInstance(), StoreEntry::hashDelete(), HERE, _hash_link::key, and NULL.
| static int getKeyCounter | ( | void | ) | [static] |
Definition at line 588 of file store.cc.
Referenced by StoreEntry::setPrivateKey().
| void storeCheckCachableStats | ( | StoreEntry * | sentry | ) |
Definition at line 989 of file store.cc.
References _store_check_cachable_hist::Default, _store_check_cachable_hist::negative_cached, _store_check_cachable_hist::no, _store_check_cachable_hist::non_get, _store_check_cachable_hist::not_entry_cachable, _store_check_cachable_hist::private_key, store_check_cachable_hist, storeAppendPrintf(), _store_check_cachable_hist::too_big, _store_check_cachable_hist::too_many_open_fds, _store_check_cachable_hist::too_many_open_files, _store_check_cachable_hist::too_small, _store_check_cachable_hist::wrong_content_length, and _store_check_cachable_hist::yes.
| static void storeLateRelease | ( | void * | unused | ) | [static] |
Definition at line 1284 of file store.cc.
References debugs, eventAdd(), i, NULL, Stack< S >::pop(), StoreController::store_dirs_rebuilding, storeLateRelease, and StoreEntry::unlock().
| static void storeRegisterWithCacheManager | ( | void | ) | [static] |
Definition at line 1379 of file store.cc.
References CacheManager::GetInstance(), CacheManager::registerAction(), Store::Stats(), storeCheckCachableStats, and storeIOStats.
Referenced by storeInit().
| void storeWriteComplete | ( | void * | data, | |
| StoreIOBuffer | wroteBuffer | |||
| ) |
Definition at line 800 of file store.cc.
References DELAY_SENDING, EBIT_TEST, StoreEntry::flags, StoreEntry::invokeHandlers(), PROF_start, PROF_stop, and storeWriteComplete.
Variable Documentation
Stack<StoreEntry*> LateReleaseStack [static] |
| const char* memStatusStr[] |
{
"NOT_IN_MEMORY",
"IN_MEMORY"
}
- Todo:
- Convert these string constants to enum string-arrays generated
Definition at line 65 of file store.cc.
Referenced by describeStatuses().
| const char* pingStatusStr[] |
{
"PING_NONE",
"PING_WAITING",
"PING_DONE"
}
Definition at line 70 of file store.cc.
Referenced by describeStatuses().
Referenced by StoreEntry::checkCachable(), and storeCheckCachableStats().
OBJH storeCheckCachableStats [static] |
Definition at line 108 of file store.cc.
Referenced by storeRegisterWithCacheManager().
| OBJH storeIOStats |
Definition at line 16 of file store_io.cc.
Referenced by storeRegisterWithCacheManager().
EVH storeLateRelease [static] |
Definition at line 109 of file store.cc.
Referenced by storeInit(), and storeLateRelease().
storerepl_entry_t* storerepl_list = NULL [static] |
| const char* storeStatusStr[] |
{
"STORE_OK",
"STORE_PENDING"
}
Definition at line 76 of file store.cc.
Referenced by describeStatuses(), and StoreEntry::swapoutPossible().
STMCB storeWriteComplete [static] |
Definition at line 56 of file store.cc.
Referenced by storeWriteComplete(), and StoreEntry::write().
| const char* swapStatusStr[] |
{
"SWAPOUT_NONE",
"SWAPOUT_WRITING",
"SWAPOUT_DONE"
}
Definition at line 81 of file store.cc.
Referenced by describeStatuses(), and storeSwapInStart().
Search
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Help Out
- Getting Squid
- Donate
- Squid Deployment Case-Studies
Documentation
- FAQ | Wiki | Book
- Configuration Reference
- Configuration Guide - Visolve
- Configuration Examples
- Users guide
- Non-English
- Security Advisories
- More...
Support
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products
