MessageDelayPools.cc
Go to the documentation of this file.
51 debugs(3, DBG_CRITICAL, "WARNING: Ignoring duplicate " << p->poolName << " response delay pool");
104 storeAppendPrintf(entry, "response_delay_pool parameters %" PRId64 " %" PRId64 " %" PRId64 " %" PRId64 " %d\n",
MessageDelayPool::Pointer pool(const SBuf &name)
returns a MessageDelayPool with a given name or null otherwise
Definition: MessageDelayPools.cc:38
MessageDelayPool(const SBuf &name, int64_t bucketSpeed, int64_t bucketSize, int64_t aggregateSpeed, int64_t aggregateSize, uint16_t initialBucketPercent)
Definition: MessageDelayPools.cc:63
void refillBucket()
Increases the aggregate bucket level with the aggregateRestore speed.
Definition: MessageDelayPools.cc:84
time_t lastUpdate
Time the aggregate bucket level was last refilled.
Definition: MessageDelayPools.h:68
int64_t aggregateRestore
the speed limit of the aggregate bucket (bytes/s)
Definition: MessageDelayPools.h:58
void parseResponseDelayPoolAccess()
Definition: MessageDelayPools.cc:178
void dumpResponseDelayPoolParameters(StoreEntry *)
Definition: MessageDelayPools.cc:197
std::vector< MessageDelayPool::Pointer > pools
Definition: MessageDelayPools.h:88
void dump_acl_access(StoreEntry *entry, const char *name, acl_access *head)
Definition: cache_cf.cc:1511
Definition: DelaySpec.h:15
void parseResponseDelayPool()
Definition: MessageDelayPools.cc:116
uint16_t initialBucketLevel
the initial bucket size as a percentage of individualMaximum
Definition: MessageDelayPools.h:62
MessageBucketPointer createBucket()
creates an individual response bucket
Definition: MessageDelayPools.cc:110
void freePools()
memory cleanup, performing during reconfiguration
Definition: MessageDelayPools.cc:58
static bool NextKvPair(char *&key, char *&value)
Definition: ConfigParser.cc:448
Definition: MessageDelayPools.h:73
Definition: forward.h:15
Definition: Store.h:37
void add(MessageDelayPool *pool)
appends a single MessageDelayPool, created during configuration
Definition: MessageDelayPools.cc:46
void aclParseAccessLine(const char *directive, ConfigParser &, acl_access **config)
Parses a single line of a "action followed by acls" directive (e.g., http_access).
Definition: Gadgets.cc:132
int64_t individualRestore
the speed limit of an individual bucket (bytes/s)
Definition: MessageDelayPools.h:54
Definition: MessageDelayPools.h:26
Definition: ConfigParser.h:45
Limits Squid-to-client bandwidth for each matching response.
Definition: MessageBucket.h:20
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
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products