Public Member Functions | Data Fields

CongestionDB Class Reference

#include <CongestionDB.h>

Inherits MTHashTable< uint64_t, CongestionEntry * >.

Collaboration diagram for CongestionDB:
Collaboration graph
[legend]

Public Member Functions

 CongestionDB (int tablesize)
 ~CongestionDB ()
bool congested (uint64_t key)
void addRecord (uint64_t key, CongestionEntry *pEntry)
void removeRecord (uint64_t key)
void removeAllRecords (void)
void RunTodoList (int buckId)
void process (int buckId, CongestRequestParam *param)
void revalidateBucket (int buckId)

Data Fields

InkAtomicListtodo_lists

Detailed Description

Definition at line 95 of file CongestionDB.h.


Constructor & Destructor Documentation

CongestionDB::CongestionDB ( int  tablesize  ) 

Definition at line 154 of file CongestionDB.cc.

References ink_assert, ink_atomiclist_init(), and todo_lists.

CongestionDB::~CongestionDB (  ) 

Definition at line 168 of file CongestionDB.cc.

References todo_lists.


Member Function Documentation

void CongestionDB::addRecord ( uint64_t  key,
CongestionEntry pEntry 
)
bool CongestionDB::congested ( uint64_t  key  ) 
void CongestionDB::process ( int  buckId,
CongestRequestParam param 
)
void CongestionDB::removeAllRecords ( void   ) 
void CongestionDB::removeRecord ( uint64_t  key  ) 
void CongestionDB::revalidateBucket ( int  buckId  ) 
void CongestionDB::RunTodoList ( int  buckId  ) 

Field Documentation


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