Method | Description | |
---|---|---|
AddNewPage ( int positionIndex, |
Finds the next unused cache page index. Marks it as used. Assigns the page information that comes from the memory pool.
|
|
Dispose ( ) : void |
Releases all the resources used by the PageList object.
|
|
DoCollection ( int shiftLevel, HashSet |
Executes a collection cycle on the pages in this list. If the collection mode is Emergency or Critical, it will only release the required number of pages and no more |
|
GetPointerToPage ( int pageIndex, int incrementReferencedCount ) : |
Returns the pointer for the provided page index.
|
|
PageList ( |
Creates a new PageMetaDataList.
|
|
TryGetPageIndex ( int positionIndex, int &pageIndex ) : bool |
Converts a number from its position index into a page index.
|
public AddNewPage ( int positionIndex, |
||
positionIndex | int | |
locationOfPage | ||
memoryPoolIndex | int | |
return | int |
public DoCollection ( int shiftLevel, HashSet |
||
shiftLevel | int | the number of bits to shift the referenced counter by. /// Value may be zero but cannot be negative |
excludedList | HashSet |
A set of values to exclude from the collection process |
e | Arguments for the collection. | |
return | int |
public GetPointerToPage ( int pageIndex, int incrementReferencedCount ) : |
||
pageIndex | int | the index of the page that has been looked up for the position. |
incrementReferencedCount | int | the value to increment the referenced count. |
return |
public PageList ( |
||
memoryPool | The buffer pool to utilize if any unmanaged memory needs to be created. | |
return | System |
public TryGetPageIndex ( int positionIndex, int &pageIndex ) : bool | ||
positionIndex | int | the position divided by the page size. |
pageIndex | int | the page index |
return | bool |