STXXL
1.4.0
|
Pager with LRU replacement strategy.
Public Member Functions | |
lru_pager (size_type num_pages=n_pages) | |
void | hit (size_type ipage) |
size_type | kick () |
size_type | size () const |
void | swap (lru_pager &obj) |
Private Types | |
enum | { n_pages = npages_ } |
typedef std::list< size_type > | list_type |
typedef unsigned_type | size_type |
Private Attributes | |
list_type | history |
simple_vector < list_type::iterator > | history_entry |
Additional Inherited Members | |
Private Member Functions inherited from stxxl::noncopyable | |
noncopyable () | |
|
private |
|
private |
|
private |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 95 of file pager.h.
References stxxl::lru_pager< npages_ >::history, and stxxl::lru_pager< npages_ >::history_entry.
|
private |
Definition at line 74 of file pager.h.
Referenced by stxxl::lru_pager< npages_ >::swap().
|
private |
Definition at line 75 of file pager.h.
Referenced by stxxl::lru_pager< npages_ >::swap().