rambrain
rambrain::pageFileLocation Class Reference

tracks page file allocations while objects are preferably written continuous to page file, we may encounter the situation that the pagefiles are nearly full. In this case we take fragments of free space and use these to break up the consecutive memory of a chunk into parts, tracked by pageChunks. More...

#include <managedFileSwap.h>

Public Member Functions

 pageFileLocation (unsigned int file, global_bytesize offset, global_bytesize size, pageChunkStatus status=PAGE_FREE)
 

Public Attributes

unsigned int file
 
global_bytesize offset
 
global_bytesize size
 
union glob_off_union glob_off_next
 
pageChunkStatus status
 
struct aiotrackeraio_ptr = NULL
 
char aio_lock = 0
 

Detailed Description

tracks page file allocations while objects are preferably written continuous to page file, we may encounter the situation that the pagefiles are nearly full. In this case we take fragments of free space and use these to break up the consecutive memory of a chunk into parts, tracked by pageChunks.

Definition at line 83 of file managedFileSwap.h.

Constructor & Destructor Documentation

rambrain::pageFileLocation::pageFileLocation ( unsigned int  file,
global_bytesize  offset,
global_bytesize  size,
pageChunkStatus  status = PAGE_FREE 
)
inline

Definition at line 86 of file managedFileSwap.h.

Member Data Documentation

char rambrain::pageFileLocation::aio_lock = 0

Definition at line 95 of file managedFileSwap.h.

struct aiotracker* rambrain::pageFileLocation::aio_ptr = NULL

Definition at line 94 of file managedFileSwap.h.

unsigned int rambrain::pageFileLocation::file

The number of the file this pageFileLocation is resident in

Definition at line 89 of file managedFileSwap.h.

union glob_off_union rambrain::pageFileLocation::glob_off_next

This points if used to the next part, if free to the next free chunk, if PAGE_END points to memchunk.

Definition at line 92 of file managedFileSwap.h.

global_bytesize rambrain::pageFileLocation::offset

Byte offset into the file

Definition at line 90 of file managedFileSwap.h.

global_bytesize rambrain::pageFileLocation::size

size of the chunk (data, not including possible reserved bytes after data)

Definition at line 91 of file managedFileSwap.h.

pageChunkStatus rambrain::pageFileLocation::status

the status of the page

Definition at line 93 of file managedFileSwap.h.


The documentation for this class was generated from the following file: