#include <DelayBucket.h>

Collaboration diagram for DelayBucket:

Public Member Functions

 DelayBucket ()
 
int const & level () const
 
intlevel ()
 
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_
 

Detailed Description

Definition at line 18 of file DelayBucket.h.

Constructor & Destructor Documentation

◆ DelayBucket()

DelayBucket::DelayBucket ( )
inline

Definition at line 22 of file DelayBucket.h.

Member Function Documentation

◆ bytesIn()

◆ bytesWanted()

◆ init()

void DelayBucket::init ( DelaySpec const &  rate)

◆ level() [1/2]

int const& DelayBucket::level ( ) const
inline

◆ level() [2/2]

int& DelayBucket::level ( )
inline

Definition at line 26 of file DelayBucket.h.

References bytesIn(), bytesWanted(), init(), level_, max(), min(), stats(), and update().

◆ stats()

void DelayBucket::stats ( StoreEntry entry) const

◆ update()

void DelayBucket::update ( DelaySpec const &  rate,
int  incr 
)

Member Data Documentation

◆ level_

int DelayBucket::level_
private

Definition at line 35 of file DelayBucket.h.

Referenced by level().


The documentation for this class was generated from the following files:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors