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)
 
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, 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
 
DelayedAsyncCalls deferredReads
 

Private Member Functions

 MEMPROXY_CLASS (CompositePoolNode)
 

Static Private Member Functions

static Mem::AllocatorProxyPool ()
 

Detailed Description

Definition at line 107 of file delay_pools.cc.

Member Typedef Documentation

◆ 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()

VectorPool::~VectorPool ( )
override

Definition at line 613 of file delay_pools.cc.

References DelayPools::deregisterForUpdates().

Member Function Documentation

◆ delayRead()

void CompositePoolNode::delayRead ( const AsyncCallPointer aRead)
inherited

◆ dump()

void VectorPool::dump ( StoreEntry entry) const
overridevirtual

Implements CompositePoolNode.

Definition at line 642 of file delay_pools.cc.

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

◆ id()

◆ keyAllocated()

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

◆ kickReads()

void CompositePoolNode::kickReads ( )
protectedinherited

◆ label()

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

Implemented in IndividualPool, and ClassCNetPool.

Referenced by stats(), and ClassCHostPool::stats().

◆ makeKey()

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

Implemented in IndividualPool, and ClassCNetPool.

Referenced by id(), and ClassCHostPool::id().

◆ MEMPROXY_CLASS()

CompositePoolNode::MEMPROXY_CLASS ( CompositePoolNode  )
privateinherited

◆ operator delete()

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

Definition at line 109 of file delay_pools.cc.

◆ operator new()

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

Definition at line 109 of file delay_pools.cc.

◆ parse()

void VectorPool::parse ( )
overridevirtual

Implements CompositePoolNode.

Definition at line 658 of file delay_pools.cc.

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

◆ Pool()

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

Definition at line 109 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 127 of file delay_pools.cc.

References spec.

◆ stats()

◆ update()

void VectorPool::update ( int  incr)
overridevirtual

◆ UseCount()

static int VectorPool::UseCount ( )
inlinestatic

Definition at line 109 of file delay_pools.cc.

Member Data Documentation

◆ buckets

◆ deferredReads

DelayedAsyncCalls CompositePoolNode::deferredReads
protectedinherited

◆ spec

DelaySpec VectorPool::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:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors