ClassCHostPool Class Reference
[Delay Pools Internal]


Classes | |
| class | Id |
Public Types | |
| typedef RefCount< ClassCHostPool > | Pointer |
Public Member Functions | |
| virtual void | dump (StoreEntry *entry) const |
| virtual void | parse () |
| virtual void | update (int incr) |
| virtual void | stats (StoreEntry *sentry) |
| virtual DelayIdComposite::Pointer | id (CompositeSelectionDetails &) |
| ClassCHostPool () | |
| ~ClassCHostPool () | |
| void * | operator new (size_t) |
| void | operator delete (void *) |
| void | delayRead (DeferredRead const &) |
Protected Member Functions | |
| bool | keyAllocated (unsigned char const key) const |
| virtual DelaySpec * | rate () |
| virtual DelaySpec const * | rate () const |
| virtual char const * | label () const |
| virtual unsigned int | makeKey (Ip::Address &src_addr) const |
| unsigned char | makeHostKey (Ip::Address &src_addr) const |
| void | kickReads () |
Protected Attributes | |
| DelaySpec | spec |
| VectorMap< unsigned char, ClassCBucket > | buckets |
| DeferredReadManager | deferredReads |
Friends | |
| class | ClassCHostPool::Id |
Detailed Description
Definition at line 228 of file delay_pools.cc.
Member Typedef Documentation
Reimplemented from CompositePoolNode.
Definition at line 232 of file delay_pools.cc.
Constructor & Destructor Documentation
| ClassCHostPool::ClassCHostPool | ( | ) |
Definition at line 896 of file delay_pools.cc.
References DelayPools::registerForUpdates().
| ClassCHostPool::~ClassCHostPool | ( | ) |
Definition at line 901 of file delay_pools.cc.
References DelayPools::deregisterForUpdates().
Member Function Documentation
| void CompositePoolNode::delayRead | ( | DeferredRead const & | aRead | ) | [inherited] |
- Todo:
- XXX create DelayIdComposite.cc
Definition at line 108 of file DelayPool.cc.
References CompositePoolNode::deferredReads, and DeferredReadManager::delayRead().
| void ClassCHostPool::dump | ( | StoreEntry * | entry | ) | const [virtual] |
Implements CompositePoolNode.
Definition at line 929 of file delay_pools.cc.
References DelaySpec::dump(), and rate().
| DelayIdComposite::Pointer ClassCHostPool::id | ( | CompositeSelectionDetails & | details | ) | [virtual] |
Implements CompositePoolNode.
Definition at line 982 of file delay_pools.cc.
References buckets, VectorMap< Key, Value >::findKeyIndex(), ClassCBucket::hostPosition(), VectorMap< Key, Value >::insert(), keyAllocated(), makeHostKey(), makeKey(), rate(), CompositePoolNode::CompositeSelectionDetails::src_addr, and VectorMap< Key, Value >::values.
| bool ClassCHostPool::keyAllocated | ( | unsigned char const | key | ) | const [protected] |
Definition at line 951 of file delay_pools.cc.
References buckets, VectorMap< Key, Value >::findKeyIndex(), and VectorMap< Key, Value >::indexUsed().
Referenced by id().
| void CompositePoolNode::kickReads | ( | ) | [protected, inherited] |
Definition at line 116 of file DelayPool.cc.
References CompositePoolNode::deferredReads, and DeferredReadManager::kickReads().
Referenced by DelayVector::update(), DelayTagged::update(), and Aggregate::update().
| virtual char const* ClassCHostPool::label | ( | ) | const [inline, protected, virtual] |
Definition at line 248 of file delay_pools.cc.
Referenced by stats().
| unsigned char ClassCHostPool::makeHostKey | ( | Ip::Address & | src_addr | ) | const [protected] |
Definition at line 957 of file delay_pools.cc.
Referenced by id().
| unsigned int ClassCHostPool::makeKey | ( | Ip::Address & | src_addr | ) | const [protected, virtual] |
Definition at line 970 of file delay_pools.cc.
Referenced by id().
| void CompositePoolNode::operator delete | ( | void * | address | ) | [inherited] |
Reimplemented in Aggregate, IndividualPool, ClassCNetPool, DelayTagged, DelayUser, and DelayVector.
Definition at line 435 of file delay_pools.cc.
References DelayPools::MemoryUsed.
| void * CompositePoolNode::operator new | ( | size_t | size | ) | [inherited] |
Reimplemented in Aggregate, IndividualPool, ClassCNetPool, DelayTagged, DelayUser, and DelayVector.
Definition at line 428 of file delay_pools.cc.
References DelayPools::MemoryUsed.
| void ClassCHostPool::parse | ( | ) | [virtual] |
Implements CompositePoolNode.
Definition at line 945 of file delay_pools.cc.
References DelaySpec::parse(), and rate().
| virtual DelaySpec const* ClassCHostPool::rate | ( | ) | const [inline, protected, virtual] |
Definition at line 246 of file delay_pools.cc.
References spec.
| virtual DelaySpec* ClassCHostPool::rate | ( | ) | [inline, protected, virtual] |
| void ClassCHostPool::stats | ( | StoreEntry * | sentry | ) | [virtual] |
Implements CompositePoolNode.
Definition at line 907 of file delay_pools.cc.
References buckets, VectorMap< Key, Value >::key_map, label(), rate(), VectorMap< Key, Value >::size(), ClassCBucket::stats(), DelaySpec::stats(), storeAppendPrintf(), and VectorMap< Key, Value >::values.
| void ClassCHostPool::update | ( | int | incr | ) | [virtual] |
Implements CompositePoolNode.
Definition at line 935 of file delay_pools.cc.
References buckets, i, rate(), VectorMap< Key, Value >::size(), ClassCBucket::update(), and VectorMap< Key, Value >::values.
Friends And Related Function Documentation
friend class ClassCHostPool::Id [friend] |
Definition at line 257 of file delay_pools.cc.
Member Data Documentation
VectorMap<unsigned char, ClassCBucket> ClassCHostPool::buckets [protected] |
Definition at line 255 of file delay_pools.cc.
Referenced by id(), keyAllocated(), stats(), and update().
DeferredReadManager CompositePoolNode::deferredReads [protected, inherited] |
Definition at line 85 of file CompositePoolNode.h.
Referenced by CompositePoolNode::delayRead(), and CompositePoolNode::kickReads().
DelaySpec ClassCHostPool::spec [protected] |
Definition at line 254 of file delay_pools.cc.
Referenced by rate().
The documentation for this class was generated from the following file:
- src/delay_pools.cc
Search
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Help Out
- Getting Squid
- Donate
- Squid Deployment Case-Studies
Documentation
- FAQ | Wiki | Book
- Configuration Reference
- Configuration Guide - Visolve
- Configuration Examples
- Users guide
- Non-English
- Security Advisories
- More...
Support
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products
