Difference between revisions of "TDiskDefragger"

From Ultibo.org
Jump to: navigation, search
(Created page with "Return to Unit Filesystem __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible...")
(No difference)

Revision as of 04:08, 17 May 2018

Return to Unit Filesystem


Description


To be documented

Class definitions



TDiskDefragger = class(TObject)

constructor Create(ADriver:TFileSysDriver; ARecognizer:TRecognizer);  
destructor Destroy; override;  
private
FLock:TSynchronizerHandle;  
FLocalLock:TMutexHandle;  
protected
FDriver:TFileSysDriver;  
FRecognizer:TRecognizer;  
 
function AcquireLock:Boolean;  
function ReleaseLock:Boolean;  
public
function ReaderLock:Boolean;  
function ReaderUnlock:Boolean;  
function WriterLock:Boolean;  
function WriterUnlock:Boolean;  
 
function AcceptVolume(AVolume:TDiskVolume):Boolean; virtual;  
 
function DefragmentVolume(AVolume:TDiskVolume):Boolean; virtual;  


Function declarations



constructor TDiskDefragger.Create(ADriver:TFileSysDriver; ARecognizer:TRecognizer);
Description: To be documented
Note None documented


destructor TDiskDefragger.Destroy;
Description: To be documented
Note None documented


function TDiskDefragger.AcquireLock:Boolean;
Description: To be documented
Note None documented


function TDiskDefragger.ReleaseLock:Boolean;
Description: To be documented
Note None documented


function TDiskDefragger.ReaderLock:Boolean;
Description: To be documented
Note None documented


function TDiskDefragger.ReaderUnlock:Boolean;
Description: To be documented
Note None documented


function TDiskDefragger.WriterLock:Boolean;
Description: To be documented
Note None documented


function TDiskDefragger.WriterUnlock:Boolean;
Description: To be documented
Note None documented


function TDiskDefragger.AcceptVolume(AVolume:TDiskVolume):Boolean;
Description: To be documented
Note


function TDiskDefragger.DefragmentVolume(AVolume:TDiskVolume):Boolean;
Description: To be documented
Note Caller must hold the volume lock


Return to Unit Reference