squid-
cache.org
Optimising Web Delivery
Docs
Download
Donate
Support
About
Contact
Shop
Blog
src
tests
stub_MemStore.cc
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1996-2022 The Squid Software Foundation and contributors
3
*
4
* Squid software is distributed under GPLv2+ license and includes
5
* contributions from numerous individuals and organizations.
6
* Please see the COPYING and CONTRIBUTORS files for details.
7
*/
8
9
/* DEBUG: section 84 Helper process maintenance */
10
11
#include "
squid.h
"
12
#include "
MemStore.h
"
13
14
#define STUB_API "MemStore.cc"
15
#include "
tests/STUB.h
"
16
17
MemStore::MemStore
()
STUB
18
MemStore
::~
MemStore
()
STUB
19
bool
MemStore
::keepInLocalMemory(const
StoreEntry
&) const
STUB_RETVAL
(
false
)
20
void
MemStore
::write(
StoreEntry
&)
STUB
21
void
MemStore
::completeWriting(
StoreEntry
&)
STUB
22
void
MemStore
::disconnect(
StoreEntry
&)
STUB
23
void
MemStore
::reference(
StoreEntry
&)
STUB
24
void
MemStore
::updateHeaders(
StoreEntry
*)
STUB
25
void
MemStore
::maintain()
STUB
26
void
MemStore
::noteFreeMapSlice(const
Ipc
::
StoreMapSliceId
)
STUB
27
void
MemStore
::init()
STUB
28
void
MemStore
::getStats(
StoreInfoStats
&) const
STUB
29
void
MemStore
::stat(
StoreEntry
&) const
STUB
30
StoreEntry
*
MemStore
::get(const
cache_key
*)
STUB_RETVAL
(
NULL
)
31
uint64_t
MemStore
::maxSize() const
STUB_RETVAL
(0)
32
uint64_t
MemStore
::minSize() const
STUB_RETVAL
(0)
33
uint64_t
MemStore
::currentSize() const
STUB_RETVAL
(0)
34
uint64_t
MemStore
::currentCount() const
STUB_RETVAL
(0)
35
int64_t
MemStore
::maxObjectSize() const
STUB_RETVAL
(0)
36
bool
MemStore
::dereference(
StoreEntry
&)
STUB_RETVAL
(
false
)
37
void
MemStore
::evictCached(
StoreEntry
&)
STUB
38
void
MemStore
::evictIfFound(const
cache_key
*)
STUB
39
bool
MemStore
::anchorToCache(
StoreEntry
&,
bool
&)
STUB_RETVAL
(
false
)
40
bool
MemStore
::updateAnchored(
StoreEntry
&)
STUB_RETVAL
(
false
)
41
int64_t
MemStore
::EntryLimit()
STUB_RETVAL
(0)
42
MemStore::MemStore
MemStore()
Definition:
MemStore.cc:161
cache_key
unsigned char cache_key
Store key.
Definition:
forward.h:29
STUB_RETVAL
#define STUB_RETVAL(x)
Definition:
STUB.h:41
NULL
#define NULL
Definition:
types.h:166
Ipc::StoreMapSliceId
int32_t StoreMapSliceId
Definition:
StoreMap.h:24
STUB
#define STUB
macro to stub a void function.
Definition:
STUB.h:33
StoreEntry
Definition:
Store.h:42
STUB.h
MemStore.h
MemStore
Definition:
MemStore.h:30
squid.h
false
#define false
Definition:
GnuRegex.c:233
StoreInfoStats
High-level store statistics used by mgr:info action. Used inside PODs!
Definition:
StoreStats.h:14
Ipc
Definition:
IpcIoFile.h:24
Introduction
About Squid
Why Squid?
Squid Developers
How to Donate
How to Help Out
Getting Squid
Squid Source Packages
Squid Deployment Case-Studies
Squid Software Foundation
Documentation
Configuration:
Reference
Examples
FAQ
and
Wiki
Guide Books:
Beginners
Definitive
Non-English
More...
Support
Security Advisories
Bugzilla Database
Mailing lists
Contacting us
Commercial services
Project Sponsors
Squid-based products
Miscellaneous
Developer Resources
Related Writings
Related Software:
Authenticators
Ecap
Icap
Ident
Log Analysis
Monitor
Proxies
Redirectors
General
Squid Artwork
Web Site Translations
Japanese
Mirrors
Website:
gr
il
jp
pl
...
full list
FTP Package Archive