MessageDelayPools.h
Go to the documentation of this file.
#define RefCountable
The locking interface for use on Reference-Counted classes.
Definition: Lock.h:66
void dump_response_delay_pool_parameters(StoreEntry *entry, const char *, MessageDelayConfig &cfg)
Definition: MessageDelayPools.h:116
RefCount< MessageBucket > MessageBucketPointer
Definition: MessageDelayPools.h:21
void parse_response_delay_pool_parameters(MessageDelayConfig *cfg)
Definition: MessageDelayPools.h:122
void parse_response_delay_pool_access(MessageDelayConfig *cfg)
Definition: MessageDelayPools.h:128
void free_response_delay_pool_parameters(MessageDelayConfig *cfg)
Definition: MessageDelayPools.h:110
Definition: DelayBucket.h:19
Limits Squid-to-client bandwidth for each matching response.
Definition: MessageBucket.h:21
represents configuration for response delay pools
Definition: MessageDelayPools.h:98
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
MessageDelayPool(const MessageDelayPool &)=delete
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
MessageDelayPool & operator=(const MessageDelayPool &)=delete
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
MessageDelayPools & operator=(const MessageDelayPools &)=delete
void freePools()
memory cleanup, performing during reconfiguration
Definition: MessageDelayPools.cc:58
MessageDelayPools(const MessageDelayPools &)=delete
Definition: Store.h:42