|
Squid Web Cache master
|
#include <DelayBucket.h>
Public Member Functions | |
| DelayBucket () | |
| int const & | level () const |
| int & | level () |
| void | stats (StoreEntry *) const |
| void | update (DelaySpec const &, int incr) |
| int | bytesWanted (int min, int max) const |
| void | bytesIn (int qty) |
| void | init (DelaySpec const &) |
Private Attributes | |
| int | level_ |
Definition at line 18 of file DelayBucket.h.
|
inline |
Definition at line 22 of file DelayBucket.h.
| void DelayBucket::bytesIn | ( | int | qty | ) |
Definition at line 41 of file DelayBucket.cc.
References level().
Referenced by MessageDelayPool::bytesIn().
Definition at line 34 of file DelayBucket.cc.
| void DelayBucket::init | ( | DelaySpec const & | rate | ) |
Definition at line 47 of file DelayBucket.cc.
References Config, SquidConfig::Delay, DelayConfig::initial, int, level(), and DelaySpec::max_bytes.
Referenced by Aggregate::Aggregate(), DelayUser::Id::Id(), DelayTagged::Id::Id(), and VectorPool::id().
|
inline |
Definition at line 26 of file DelayBucket.h.
References level_.
|
inline |
Definition at line 24 of file DelayBucket.h.
References level_.
Referenced by MessageDelayPool::MessageDelayPool(), bytesIn(), bytesWanted(), init(), MessageDelayPool::level(), stats(), and update().
| void DelayBucket::stats | ( | StoreEntry * | entry | ) | const |
Definition at line 20 of file DelayBucket.cc.
References level(), and storeAppendPrintf().
Referenced by DelayTaggedBucket::stats(), DelayUserBucket::stats(), Aggregate::stats(), VectorPool::stats(), and ClassCHostPool::stats().
Definition at line 26 of file DelayBucket.cc.
References level(), DelaySpec::max_bytes, and DelaySpec::restore_bps.
Referenced by MessageDelayPool::refillBucket(), Aggregate::update(), VectorPool::update(), and ClassCHostPool::update().
|
private |
Definition at line 35 of file DelayBucket.h.