DelayBucket.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
9#ifndef SQUID_DELAYBUCKET_H
10#define SQUID_DELAYBUCKET_H
11
12class DelaySpec;
13class StoreEntry;
14
15/* don't use remote storage for these */
16
19{
20
21public:
23
24 int const& level() const {return level_;}
25
26 int & level() {return level_;}
27
28 void stats(StoreEntry *)const;
29 void update (DelaySpec const &, int incr);
30 int bytesWanted (int min, int max) const;
31 void bytesIn(int qty);
32 void init (DelaySpec const &);
33
34private:
35 int level_;
36};
37
38#endif /* SQUID_DELAYBUCKET_H */
39
void init(DelaySpec const &)
Definition: DelayBucket.cc:47
void update(DelaySpec const &, int incr)
Definition: DelayBucket.cc:26
void bytesIn(int qty)
Definition: DelayBucket.cc:41
void stats(StoreEntry *) const
Definition: DelayBucket.cc:20
int const & level() const
Definition: DelayBucket.h:24
int bytesWanted(int min, int max) const
Definition: DelayBucket.cc:34
int & level()
Definition: DelayBucket.h:26
A const & max(A const &lhs, A const &rhs)
A const & min(A const &lhs, A const &rhs)

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors