Fennel: BackupRestorePage Class Reference (original) (raw)
Public Member Functions
virtual PBuffer
getBuffer () const
Returns:
memory address where transfer should start.
virtual uint
getBufferSize () const
Returns:
number of contiguous bytes from getBuffer() to be used for transfer.
virtual void
notifyTransferCompletion (bool bSuccess)
Receives notification when a transfer completes.
void
setParent (WeakSegPageBackupRestoreDevice pParentInit)
Sets the initiating backup/restore object.
void
Sets the buffer associated with this page.
void
setBufferSize (uint bufferSize)
Returns:
the counter that determines the order in which pages are written to the backup file
void
setPageCounter (BlockNum counter)
Sets the counter that determines the order in which pages are written to the backup file.
void
setReadRequest (bool isRead)
Indicates whether the request is a read request.
Private Attributes
Pointer to the scratch buffer associated with this request.
The counter that determines the order in which pages are written to the backup file.
bool
True if this is a read request.
WeakSegPageBackupRestoreDevice
A pointer to the parent object that initiated this I/O request.