Inheritance diagram for ClassCHostPool:
Collaboration diagram for ClassCHostPool:

Classes

class  Id
 

Public Types

typedef RefCount< ClassCHostPoolPointer
 

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 delayRead (const AsyncCallPointer &)
 

Protected Member Functions

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

Private Member Functions

 MEMPROXY_CLASS (ClassCHostPool)
 

Friends

class ClassCHostPool::Id
 

Detailed Description

Definition at line 190 of file delay_pools.cc.

Member Typedef Documentation

◆ Pointer

Definition at line 195 of file delay_pools.cc.

Constructor & Destructor Documentation

◆ ClassCHostPool()

ClassCHostPool::ClassCHostPool ( )

Definition at line 753 of file delay_pools.cc.

References DelayPools::registerForUpdates().

◆ ~ClassCHostPool()

ClassCHostPool::~ClassCHostPool ( )

Definition at line 758 of file delay_pools.cc.

References DelayPools::deregisterForUpdates().

Member Function Documentation

◆ delayRead()

void CompositePoolNode::delayRead ( const AsyncCallPointer aRead)
inherited

◆ dump()

void ClassCHostPool::dump ( StoreEntry entry) const
virtual

Implements CompositePoolNode.

Definition at line 786 of file delay_pools.cc.

References DelaySpec::dump(), and VectorPool::rate().

◆ id()

◆ keyAllocated()

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

◆ kickReads()

void CompositePoolNode::kickReads ( )
protectedinherited

◆ label()

virtual char const* ClassCHostPool::label ( ) const
inlineprotectedvirtual

Definition at line 211 of file delay_pools.cc.

◆ makeHostKey()

unsigned char ClassCHostPool::makeHostKey ( Ip::Address src_addr) const
protected

Definition at line 814 of file delay_pools.cc.

References Ip::Address::getInAddr(), and Ip::Address::isIPv4().

◆ makeKey()

unsigned int ClassCHostPool::makeKey ( Ip::Address src_addr) const
protectedvirtual

Definition at line 827 of file delay_pools.cc.

References Ip::Address::getInAddr(), and Ip::Address::isIPv4().

◆ MEMPROXY_CLASS()

ClassCHostPool::MEMPROXY_CLASS ( ClassCHostPool  )
private

◆ parse()

void ClassCHostPool::parse ( )
virtual

Implements CompositePoolNode.

Definition at line 802 of file delay_pools.cc.

References DelaySpec::parse(), and VectorPool::rate().

◆ rate() [1/2]

virtual DelaySpec* ClassCHostPool::rate ( )
inlineprotectedvirtual

Definition at line 207 of file delay_pools.cc.

References spec.

◆ rate() [2/2]

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

Definition at line 209 of file delay_pools.cc.

References spec.

◆ stats()

◆ update()

void ClassCHostPool::update ( int  incr)
virtual

Friends And Related Function Documentation

◆ ClassCHostPool::Id

friend class ClassCHostPool::Id
friend

Definition at line 222 of file delay_pools.cc.

Member Data Documentation

◆ buckets

VectorMap<unsigned char, ClassCBucket> ClassCHostPool::buckets
protected

Definition at line 218 of file delay_pools.cc.

◆ deferredReads

DelayedAsyncCalls CompositePoolNode::deferredReads
protectedinherited

◆ spec

DelaySpec ClassCHostPool::spec
protected

Definition at line 217 of file delay_pools.cc.

Referenced by rate().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors