MessageBucket.cc
Go to the documentation of this file.
bool noLimit() const
Whether this bucket will not do bandwidth limiting.
Definition: BandwidthBucket.h:41
void refillBucket()
Increases the bucket level with the writeSpeedLimit speed.
Definition: BandwidthBucket.cc:31
virtual void reduceBucket(const int len)
Decreases the bucket level.
Definition: BandwidthBucket.cc:83
MessageBucket(const int speed, const int initialLevelPercent, const double sizeLimit, MessageDelayPool::Pointer pool)
Definition: MessageBucket.cc:17
void scheduleWrite(Comm::IoCallback *state) override
Will plan another write call.
Definition: MessageBucket.cc:43
void refillBucket()
Increases the aggregate bucket level with the aggregateRestore speed.
Definition: MessageDelayPools.cc:84
void SetSelect(int, unsigned int, PF *, void *, time_t)
Mark an FD to be watched for its IO status.
Definition: ModDevPoll.cc:223