#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()

void DelayBucket::bytesIn ( int  qty)

Definition at line 41 of file DelayBucket.cc.

References level().

Referenced by MessageDelayPool::bytesIn().

◆ bytesWanted()

int DelayBucket::bytesWanted ( int  min,
int  max 
) const

Definition at line 34 of file DelayBucket.cc.

References level(), max(), and min().

◆ init()

void DelayBucket::init ( DelaySpec const &  rate)

◆ level() [1/2]

int& DelayBucket::level ( )
inline

Definition at line 26 of file DelayBucket.h.

References level_.

◆ level() [2/2]

int const& DelayBucket::level ( ) const
inline

◆ 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