Inheritance diagram for VectorPool:
Collaboration diagram for VectorPool:

Classes

class  Id
 

Public Types

typedef RefCount< VectorPoolPointer
 

Public Member Functions

void * operator new (size_t byteCount)
 
void operator delete (void *address)
 
virtual void dump (StoreEntry *entry) const
 
virtual void parse ()
 
virtual void update (int incr)
 
virtual void stats (StoreEntry *sentry)
 
virtual DelayIdComposite::Pointer id (CompositeSelectionDetails &)
 
 VectorPool ()
 
 ~VectorPool ()
 
void delayRead (DeferredRead const &)
 

Static Public Member Functions

static int UseCount ()
 

Public Attributes

VectorMap< unsigned char, DelayBucketbuckets
 

Protected Member Functions

bool keyAllocated (unsigned char const key) const
 
virtual DelaySpecrate ()
 
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
 
DeferredReadManager deferredReads
 

Static Private Member Functions

static Mem::AllocatorProxyPool ()
 

Detailed Description

Definition at line 108 of file delay_pools.cc.

Member Typedef Documentation

◆ Pointer

Definition at line 110 of file delay_pools.cc.

Constructor & Destructor Documentation

◆ VectorPool()

VectorPool::VectorPool ( )

Definition at line 608 of file delay_pools.cc.

References DelayPools::registerForUpdates().

◆ ~VectorPool()

VectorPool::~VectorPool ( )

Definition at line 613 of file delay_pools.cc.

References DelayPools::deregisterForUpdates().

Member Function Documentation

◆ delayRead()

void CompositePoolNode::delayRead ( DeferredRead const &  aRead)
inherited

◆ dump()

void VectorPool::dump ( StoreEntry entry) const
virtual

Implements CompositePoolNode.

Definition at line 642 of file delay_pools.cc.

◆ id()

◆ keyAllocated()

bool VectorPool::keyAllocated ( unsigned char const  key) const
protected

Definition at line 664 of file delay_pools.cc.

References buckets.

Referenced by ClassCHostPool::id().

◆ kickReads()

void CompositePoolNode::kickReads ( )
protectedinherited

◆ label()

virtual char const* VectorPool::label ( ) const
protectedpure virtual

Implemented in ClassCNetPool, and IndividualPool.

Referenced by ClassCHostPool::stats().

◆ makeKey()

virtual unsigned int VectorPool::makeKey ( Ip::Address src_addr) const
protectedpure virtual

Implemented in ClassCNetPool, and IndividualPool.

Referenced by ClassCHostPool::id().

◆ operator delete()

void VectorPool::operator delete ( void *  address)
inline

Definition at line 110 of file delay_pools.cc.

◆ operator new()

void* VectorPool::operator new ( size_t  byteCount)
inline

Definition at line 110 of file delay_pools.cc.

◆ parse()

void VectorPool::parse ( )
virtual

Implements CompositePoolNode.

Definition at line 658 of file delay_pools.cc.

◆ Pool()

static Mem::AllocatorProxy& VectorPool::Pool ( )
inlinestaticprivate

Definition at line 110 of file delay_pools.cc.

◆ rate() [1/2]

virtual DelaySpec* VectorPool::rate ( )
inlineprotectedvirtual

◆ rate() [2/2]

virtual DelaySpec const* VectorPool::rate ( ) const
inlineprotectedvirtual

Definition at line 128 of file delay_pools.cc.

References Aggregate::spec.

◆ stats()

void VectorPool::stats ( StoreEntry sentry)
virtual

Implements CompositePoolNode.

Definition at line 619 of file delay_pools.cc.

References buckets, i, and storeAppendPrintf().

◆ update()

void VectorPool::update ( int  incr)
virtual

Implements CompositePoolNode.

Definition at line 648 of file delay_pools.cc.

References buckets, and i.

◆ UseCount()

static int VectorPool::UseCount ( )
inlinestatic

Definition at line 110 of file delay_pools.cc.

Member Data Documentation

◆ buckets

◆ deferredReads

DeferredReadManager CompositePoolNode::deferredReads
protectedinherited

Definition at line 58 of file CompositePoolNode.h.

◆ spec

DelaySpec VectorPool::spec
protected

Definition at line 134 of file delay_pools.cc.


The documentation for this class was generated from the following file:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors