MessageDelayPools.cc
Go to the documentation of this file.
52 debugs(3, DBG_CRITICAL, "WARNING: Ignoring duplicate " << p->poolName << " response delay pool");
105 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:39
MessageDelayPool(const SBuf &name, int64_t bucketSpeed, int64_t bucketSize, int64_t aggregateSpeed, int64_t aggregateSize, uint16_t initialBucketPercent)
Definition: MessageDelayPools.cc:64
void refillBucket()
Increases the aggregate bucket level with the aggregateRestore speed.
Definition: MessageDelayPools.cc:85
time_t lastUpdate
Time the aggregate bucket level was last refilled.
Definition: MessageDelayPools.h:68
void aclParseAccessLine(const char *directive, ConfigParser &, acl_access **treep)
Definition: Gadgets.cc:137
int64_t aggregateRestore
the speed limit of the aggregate bucket (bytes/s)
Definition: MessageDelayPools.h:58
void parseResponseDelayPoolAccess()
Definition: MessageDelayPools.cc:179
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:1441
Definition: DelaySpec.h:16
void parseResponseDelayPool()
Definition: MessageDelayPools.cc:117
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:111
void freePools()
memory cleanup, performing during reconfiguration
Definition: MessageDelayPools.cc:59
static bool NextKvPair(char *&key, char *&value)
Definition: ConfigParser.cc:458
Definition: MessageDelayPools.h:74
Definition: RefCount.h:27
void dumpResponseDelayPoolParameters(StoreEntry *e, const char *name)
Definition: MessageDelayPools.cc:198
Definition: Store.h:42
void add(MessageDelayPool *pool)
appends a single MessageDelayPool, created during configuration
Definition: MessageDelayPools.cc:47
int64_t individualRestore
the speed limit of an individual bucket (bytes/s)
Definition: MessageDelayPools.h:54
Definition: MessageDelayPools.h:27
Definition: ConfigParser.h:42
Limits Squid-to-client bandwidth for each matching response.
Definition: MessageBucket.h:21