Diagrama de herencias de Aleph::Cache< Key, Data >Clases | |
| class | Cache_Entry |
| struct | Iterator |
Métodos públicos | |
| const size_t & | get_num_entries () const |
| Cache (size_t(*hash_fct)(const Key &), const size_t &size) | |
| Cache_Entry * | search (const Key &key) |
| Cache_Entry * | search_next (Cache_Entry *cache_entry) |
| Cache_Entry * | insert (const Key &key, const Data &data) Exception_Prototypes(std |
| void | lock_entry (Cache_Entry *cache_entry) Exception_Prototypes(std |
| void | unlock_entry (Cache_Entry *cache_entry) Exception_Prototypes(std |
| void | remove (Cache_Entry *cache_entry) Exception_Prototypes(std |
| void | expand (const size_t &plus_size) Exception_Prototypes(std |
| const size_t & | capacity () const |
| const size_t & | size () const |
| const size_t & | get_num_locked () const |
| const size_t & | get_num_busy_slots () const |
Métodos protegidos | |
| LINKNAME_TO_TYPE (Cache_Entry, dlink_lru) | |
| LINKNAME_TO_TYPE (Cache_Entry, dlink_inside) | |
| void | insert_entry_to_lru_list (Cache_Entry *cache_entry) |
| void | remove_entry_from_lru_list (Cache_Entry *cache_entry) |
| void | insert_entry_to_locked_list (Cache_Entry *cache_entry) |
| void | remove_entry_from_locked_list (Cache_Entry *cache_entry) |
| void | move_to_inside_front (Cache_Entry *cache_entry) |
| void | move_to_lru_front (Cache_Entry *cache_entry) |
| void | move_to_lru_rear (Cache_Entry *cache_entry) |
| void | do_mru (Cache_Entry *cache_entry) |
| void | do_lru (Cache_Entry *cache_entry) |
| void | remove_entry_from_hash_table (Cache_Entry *cache_entry) |
| Cache_Entry * | get_lru_entry () |
| Cache_Entry * | insert_pair (const Key &key, const Data &data) |