Classes | |
class | Id |
Public Types | |
typedef RefCount< VectorPool > | Pointer |
Public Member Functions | |
void * | operator new (size_t byteCount) |
void | operator delete (void *address) |
void | dump (StoreEntry *entry) const override |
void | parse () override |
void | update (int incr) override |
void | stats (StoreEntry *sentry) override |
DelayIdComposite::Pointer | id (CompositeSelectionDetails &) override |
VectorPool () | |
~VectorPool () override | |
void | delayRead (const AsyncCallPointer &) |
Static Public Member Functions | |
static int | UseCount () |
Public Attributes | |
VectorMap< unsigned char, DelayBucket > | buckets |
Protected Member Functions | |
bool | keyAllocated (unsigned char const key) const |
virtual DelaySpec * | rate () |
virtual DelaySpec const * | rate () const |
virtual char const * | label () const =0 |
virtual unsigned int | makeKey (Ip::Address &src_addr) const =0 |
void | kickReads () |
Protected Attributes | |
DelaySpec | spec |
DelayedAsyncCalls | deferredReads |
Private Member Functions | |
MEMPROXY_CLASS (CompositePoolNode) | |
Static Private Member Functions | |
static Mem::AllocatorProxy & | Pool () |
Detailed Description
Definition at line 107 of file delay_pools.cc.
Member Typedef Documentation
◆ Pointer
typedef RefCount<VectorPool> VectorPool::Pointer |
Definition at line 112 of file delay_pools.cc.
Constructor & Destructor Documentation
◆ VectorPool()
VectorPool::VectorPool | ( | ) |
Definition at line 608 of file delay_pools.cc.
References DelayPools::registerForUpdates().
◆ ~VectorPool()
|
override |
Definition at line 613 of file delay_pools.cc.
References DelayPools::deregisterForUpdates().
Member Function Documentation
◆ delayRead()
|
inherited |
Definition at line 80 of file DelayPool.cc.
References CompositePoolNode::deferredReads, and DelayedAsyncCalls::delay().
Referenced by Aggregate::AggregateId::delayRead().
◆ dump()
|
overridevirtual |
Implements CompositePoolNode.
Definition at line 642 of file delay_pools.cc.
References DelaySpec::dump(), and rate().
◆ id()
|
overridevirtual |
Implements CompositePoolNode.
Definition at line 693 of file delay_pools.cc.
References buckets, VectorMap< Key, Value >::findKeyIndex(), DelayBucket::init(), VectorMap< Key, Value >::insert(), Ip::Address::isIPv4(), keyAllocated(), makeKey(), rate(), CompositePoolNode::CompositeSelectionDetails::src_addr, and VectorMap< Key, Value >::values.
◆ keyAllocated()
|
protected |
Definition at line 664 of file delay_pools.cc.
References buckets, VectorMap< Key, Value >::findKeyIndex(), and VectorMap< Key, Value >::indexUsed().
Referenced by id(), and ClassCHostPool::id().
◆ kickReads()
|
protectedinherited |
Definition at line 88 of file DelayPool.cc.
References CompositePoolNode::deferredReads, and DelayedAsyncCalls::schedule().
Referenced by Aggregate::update(), DelayTagged::update(), and DelayVector::update().
◆ label()
|
protectedpure virtual |
Implemented in IndividualPool, and ClassCNetPool.
Referenced by stats(), and ClassCHostPool::stats().
◆ makeKey()
|
protectedpure virtual |
Implemented in IndividualPool, and ClassCNetPool.
Referenced by id(), and ClassCHostPool::id().
◆ MEMPROXY_CLASS()
|
privateinherited |
◆ operator delete()
|
inline |
Definition at line 109 of file delay_pools.cc.
◆ operator new()
|
inline |
Definition at line 109 of file delay_pools.cc.
◆ parse()
|
overridevirtual |
Implements CompositePoolNode.
Definition at line 658 of file delay_pools.cc.
References DelaySpec::parse(), and rate().
◆ Pool()
|
inlinestaticprivate |
Definition at line 109 of file delay_pools.cc.
◆ rate() [1/2]
|
inlineprotectedvirtual |
Definition at line 125 of file delay_pools.cc.
References spec.
Referenced by dump(), ClassCHostPool::dump(), id(), ClassCHostPool::id(), parse(), ClassCHostPool::parse(), stats(), ClassCHostPool::stats(), update(), and ClassCHostPool::update().
◆ rate() [2/2]
|
inlineprotectedvirtual |
Definition at line 127 of file delay_pools.cc.
References spec.
◆ stats()
|
overridevirtual |
Implements CompositePoolNode.
Definition at line 619 of file delay_pools.cc.
References buckets, VectorMap< Key, Value >::key_map, label(), rate(), VectorMap< Key, Value >::size(), DelayBucket::stats(), DelaySpec::stats(), storeAppendPrintf(), and VectorMap< Key, Value >::values.
◆ update()
|
overridevirtual |
Implements CompositePoolNode.
Definition at line 648 of file delay_pools.cc.
References buckets, rate(), VectorMap< Key, Value >::size(), DelayBucket::update(), and VectorMap< Key, Value >::values.
◆ UseCount()
|
inlinestatic |
Definition at line 109 of file delay_pools.cc.
Member Data Documentation
◆ buckets
VectorMap<unsigned char, DelayBucket> VectorPool::buckets |
Definition at line 119 of file delay_pools.cc.
Referenced by id(), ClassCHostPool::id(), keyAllocated(), ClassCHostPool::keyAllocated(), stats(), ClassCHostPool::stats(), update(), and ClassCHostPool::update().
◆ deferredReads
|
protectedinherited |
Definition at line 60 of file CompositePoolNode.h.
Referenced by CompositePoolNode::delayRead(), and CompositePoolNode::kickReads().
◆ spec
|
protected |
Definition at line 133 of file delay_pools.cc.
Referenced by rate().
The documentation for this class was generated from the following file:
- src/delay_pools.cc