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",
void aclParseAccessLine(const char *directive, ConfigParser &, acl_access **treep)
Definition: Gadgets.cc:135
Definition: ConfigParser.h:46
static bool NextKvPair(char *&key, char *&value)
Definition: ConfigParser.cc:448
Definition: DelaySpec.h:16
Limits Squid-to-client bandwidth for each matching response.
Definition: MessageBucket.h:21
void parseResponseDelayPool()
Definition: MessageDelayPools.cc:116
void dumpResponseDelayPoolParameters(StoreEntry *)
Definition: MessageDelayPools.cc:197
void parseResponseDelayPoolAccess()
Definition: MessageDelayPools.cc:178
Definition: MessageDelayPools.h:27
int64_t individualRestore
the speed limit of an individual bucket (bytes/s)
Definition: MessageDelayPools.h:54
time_t lastUpdate
Time the aggregate bucket level was last refilled.
Definition: MessageDelayPools.h:68
void refillBucket()
Increases the aggregate bucket level with the aggregateRestore speed.
Definition: MessageDelayPools.cc:84
MessageBucketPointer createBucket()
creates an individual response bucket
Definition: MessageDelayPools.cc:110
uint16_t initialBucketLevel
the initial bucket size as a percentage of individualMaximum
Definition: MessageDelayPools.h:62
MessageDelayPool(const SBuf &name, int64_t bucketSpeed, int64_t bucketSize, int64_t aggregateSpeed, int64_t aggregateSize, uint16_t initialBucketPercent)
Definition: MessageDelayPools.cc:63
int64_t aggregateRestore
the speed limit of the aggregate bucket (bytes/s)
Definition: MessageDelayPools.h:58
Definition: MessageDelayPools.h:74
void add(MessageDelayPool *pool)
appends a single MessageDelayPool, created during configuration
Definition: MessageDelayPools.cc:46
std::vector< MessageDelayPool::Pointer > pools
Definition: MessageDelayPools.h:88
MessageDelayPool::Pointer pool(const SBuf &name)
returns a MessageDelayPool with a given name or null otherwise
Definition: MessageDelayPools.cc:38
void freePools()
memory cleanup, performing during reconfiguration
Definition: MessageDelayPools.cc:58
Definition: Store.h:42
void dump_acl_access(StoreEntry *entry, const char *name, acl_access *head)
Definition: cache_cf.cc:1516