]> git.ipfire.org Git - thirdparty/squid.git/blame - src/DelayPool.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / DelayPool.h
CommitLineData
b67e2c8c 1/*
4ac4a490 2 * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
26ac0430 3 *
bbc27441
AJ
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.
b67e2c8c 7 */
bbc27441
AJ
8
9/* DEBUG: section 77 Delay Pools */
10
b67e2c8c 11#ifndef DELAYPOOL_H
12#define DELAYPOOL_H
13
9a0a18de 14#if USE_DELAY_POOLS
6f58d7d7 15#include "acl/forward.h"
602d9612 16#include "CompositePoolNode.h"
b67e2c8c 17
18class StoreEntry;
62e76326 19
b67e2c8c 20class CommonPool;
62e76326 21
63be0a78 22/// \ingroup DelayPoolsAPI
62e76326 23class DelayPool
24{
25
26public:
b67e2c8c 27 DelayPool();
28 ~DelayPool();
29 void freeData();
30 void createPool(u_char delay_class);
31 void parse();
32 void dump (StoreEntry *, unsigned int poolNumberMinusOne) const;
33 CommonPool *pool;
34 CompositePoolNode::Pointer theComposite() {return theComposite_;}
62e76326 35
26ac0430 36 CompositePoolNode::Pointer const theComposite() const {return theComposite_;}
62e76326 37
b67e2c8c 38 acl_access *access;
62e76326 39
40private:
b67e2c8c 41 CompositePoolNode::Pointer theComposite_;
42};
62e76326 43
9a0a18de 44#endif /* USE_DELAY_POOLS */
b67e2c8c 45#endif /* DELAYPOOL_H */
f53969cc 46