#include <Update.h>
Inherits RefCountObj.

Public Types | |
| enum | { HASH_TABLE_SIZE = 4096 } |
Public Member Functions | |
| UpdateConfigList () | |
| ~UpdateConfigList () | |
| void | Add (UpdateEntry *) |
| int | HashAdd (UpdateEntry *) |
| UpdateEntry * | Remove () |
| void | AddPending (UpdateEntry *) |
| UpdateEntry * | RemovePending () |
| int | Entries () |
| int | PendingEntries () |
Data Fields | |
| int | _entry_q_elements |
| Queue< UpdateEntry > | _entry_q |
| int | _pending_q_elements |
| Queue< UpdateEntry > | _pending_q |
| UpdateEntry ** | _hash_table |
Definition at line 196 of file Update.h.
| UpdateConfigList::~UpdateConfigList | ( | ) |
Definition at line 583 of file Update.cc.
References _hash_table.
| void UpdateConfigList::Add | ( | UpdateEntry * | e | ) |
Definition at line 592 of file Update.cc.
References _entry_q, _entry_q_elements, and Queue< C, L >::enqueue().
Referenced by HashAdd(), and UpdateConfigManager::ParseConfigFile().
| void UpdateConfigList::AddPending | ( | UpdateEntry * | e | ) |
Definition at line 648 of file Update.cc.
References _pending_q, _pending_q_elements, and Queue< C, L >::enqueue().
| int UpdateConfigList::Entries | ( | ) | [inline] |
Definition at line 206 of file Update.h.
References _entry_q_elements.
| int UpdateConfigList::HashAdd | ( | UpdateEntry * | e | ) |
Definition at line 599 of file Update.cc.
References UpdateEntry::_hash_link, _hash_table, UpdateEntry::_url_md5, Add(), ats::CryptoHash::fold(), HASH_TABLE_SIZE, and ink_assert.
| int UpdateConfigList::PendingEntries | ( | ) | [inline] |
Definition at line 210 of file Update.h.
References _pending_q_elements.
| UpdateEntry * UpdateConfigList::Remove | ( | ) |
Definition at line 638 of file Update.cc.
References _entry_q, _entry_q_elements, and Queue< C, L >::dequeue().
| UpdateEntry * UpdateConfigList::RemovePending | ( | ) |
Definition at line 655 of file Update.cc.
References _pending_q, _pending_q_elements, and Queue< C, L >::dequeue().
Definition at line 224 of file Update.h.
Referenced by HashAdd(), and ~UpdateConfigList().
Definition at line 223 of file Update.h.
Referenced by AddPending(), and RemovePending().
Definition at line 222 of file Update.h.
Referenced by AddPending(), PendingEntries(), and RemovePending().
1.7.1