#include <PageBucket.h>
Public Types | |
typedef IntrusiveList< PageT, PageBucketListNode > | PageList |
typedef IntrusiveListIter< PageT, PageBucketListNode > | PageListIter |
typedef IntrusiveListMutator< PageT, PageBucketListNode > | PageListMutator |
Public Member Functions | |
PageBucket () | |
Public Attributes | |
SXMutex | mutex |
SXMutex protecting this bucket. | |
PageList | pageList |
List of pages in this bucket. |
For example, in CacheImpl, pages are hashed into buckets based on their BlockIds; a collection of free pages is also maintained as a bucket.
Definition at line 38 of file PageBucket.h.
typedef IntrusiveList<PageT,PageBucketListNode> PageBucket< PageT >::PageList |
Definition at line 45 of file PageBucket.h.
typedef IntrusiveListIter<PageT,PageBucketListNode> PageBucket< PageT >::PageListIter |
Definition at line 46 of file PageBucket.h.
typedef IntrusiveListMutator<PageT,PageBucketListNode> PageBucket< PageT >::PageListMutator |
Definition at line 47 of file PageBucket.h.
PageBucket< PageT >::PageBucket | ( | ) | [inline, explicit] |
SXMutex PageBucket< PageT >::mutex |
SXMutex protecting this bucket.
Definition at line 52 of file PageBucket.h.
Referenced by CacheImpl< PageT, VictimPolicyT >::getAllocatedPageCount(), CacheImpl< PageT, VictimPolicyT >::isPageMapped(), CacheImpl< PageT, VictimPolicyT >::lookupPage(), CacheImpl< PageT, VictimPolicyT >::mapPage(), CacheImpl< PageT, VictimPolicyT >::setAllocatedPageCount(), and CacheImpl< PageT, VictimPolicyT >::unmapPage().
PageList PageBucket< PageT >::pageList |
List of pages in this bucket.
Definition at line 57 of file PageBucket.h.
Referenced by CacheImpl< PageT, VictimPolicyT >::allocatePages(), CacheImpl< PageT, VictimPolicyT >::closeImpl(), CacheImpl< PageT, VictimPolicyT >::getAllocatedPageCount(), CacheImpl< PageT, VictimPolicyT >::isPageMapped(), CacheImpl< PageT, VictimPolicyT >::lookupPage(), CacheImpl< PageT, VictimPolicyT >::mapPage(), CacheImpl< PageT, VictimPolicyT >::setAllocatedPageCount(), and CacheImpl< PageT, VictimPolicyT >::unmapPage().