CompositePoolNode.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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 /* DEBUG: section 77 Delay Pools */
10 
11 #ifndef COMPOSITEPOOLNODE_H
12 #define COMPOSITEPOOLNODE_H
13 
14 #if USE_DELAY_POOLS
15 #include "auth/UserRequest.h"
16 #include "CommRead.h"
17 #include "DelayIdComposite.h"
18 #include "DelayPools.h"
19 #include "ip/Address.h"
20 #include "SquidString.h"
21 
22 class StoreEntry;
23 
26 {
28 
29 public:
31  virtual ~CompositePoolNode() {}
32 
33  virtual void stats(StoreEntry * sentry) =0;
34  virtual void dump(StoreEntry *entry) const =0;
35  virtual void update(int incr) =0;
36  virtual void parse() = 0;
37 
38  class CompositeSelectionDetails;
39  virtual DelayIdComposite::Pointer id(CompositeSelectionDetails &) = 0;
40  void delayRead(DeferredRead const &);
41 
44  {
45 
46  public:
48 
50 #if USE_AUTH
52 #endif
54  };
55 
56 protected:
57  void kickReads();
59 };
60 
61 #endif /* USE_DELAY_POOLS */
62 #endif /* COMPOSITEPOOLNODE_H */
63 
virtual void dump(StoreEntry *entry) const =0
DeferredReadManager deferredReads
void delayRead(DeferredRead const &)
Definition: DelayPool.cc:80
RefCount< CompositePoolNode > Pointer
virtual void parse()=0
virtual void stats(StoreEntry *sentry)=0
MEMPROXY_CLASS(CompositePoolNode)
virtual void update(int incr)=0
virtual ~CompositePoolNode()
virtual DelayIdComposite::Pointer id(CompositeSelectionDetails &)=0

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors