]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/DelayBucket.h
2 * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
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.
9 #ifndef SQUID_DELAYBUCKET_H
10 #define SQUID_DELAYBUCKET_H
15 /* don't use remote storage for these */
17 /// \ingroup DelayPoolsAPI
22 DelayBucket() : level_(0) {}
24 int const& level() const {return level_
;}
26 int & level() {return level_
;}
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 &);
38 #endif /* SQUID_DELAYBUCKET_H */