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

Definition at line 22 of file DelayBucket.h.

Member Function Documentation

void DelayBucket::bytesIn ( int  qty)

Definition at line 41 of file DelayBucket.cc.

References level().

Referenced by MessageDelayPool::bytesIn().

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

Definition at line 34 of file DelayBucket.cc.

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

void DelayBucket::init ( DelaySpec const &  rate)
int const& DelayBucket::level ( ) const
inline
int& DelayBucket::level ( )
inline

Definition at line 26 of file DelayBucket.h.

References level_.

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

Member Data Documentation

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