Property | Type | Description | |
---|---|---|---|
CachedLookups | long | ||
Lookups | long |
Method | Description | |
---|---|---|
Clear ( ) : void | ||
DiskIoSession ( |
Creates a new DiskIoSession that can be used to read from the disk subsystem.
|
|
Dispose ( ) : void |
Releases all the resources used by the DiskIoSession object.
|
|
Read ( uint blockIndex, BlockType blockType, uint indexValue ) : void |
Navigates to a block that will be only read and not modified.
|
|
ReadOld ( uint blockIndex, BlockType blockType, uint indexValue ) : void |
Navigates to a block that will be only read and not modified.
|
|
WriteToExistingBlock ( uint blockIndex, BlockType blockType, uint indexValue ) : void |
Navigates to a block that will be written to. This block must currently exist and have the correct parameters passed to this function In order to allow this block to be modified.
|
|
WriteToNewBlock ( uint blockIndex, BlockType blockType, uint indexValue ) : void |
Navigates to a block that will be written to. This class does not check if overwriting an existing block. So be careful not to corrupt the file. This function will increase the size of the file if the block excedes the current size of the file. |
Method | Description | |
---|---|---|
ClearFooterData ( ) : void | ||
IsFooterCurrentSnapshotAndValid ( ) : IoReadState | ||
IsFooterValid ( ) : IoReadState | ||
IsFooterValidFromOldBlock ( ) : IoReadState | ||
ReadBlock ( bool requestWriteAccess ) : void |
Tries to read data from the following file
|
|
WriteFooterData ( ) : void |
public DiskIoSession ( |
||
diskIo | owner of the disk | |
ioSession | the base ioSession to use for this io session | |
header | FileHeaderBlock | |
file | SubFileHeader | The file that will be read from this diskIoSession |
return | System |
public Read ( uint blockIndex, BlockType blockType, uint indexValue ) : void | ||
blockIndex | uint | |
blockType | BlockType | the type of this block. |
indexValue | uint | a value put in the footer of the block designating the index of this block |
return | void |
public ReadOld ( uint blockIndex, BlockType blockType, uint indexValue ) : void | ||
blockIndex | uint | |
blockType | BlockType | the type of this block. |
indexValue | uint | a value put in the footer of the block designating the index of this block |
return | void |
public WriteToExistingBlock ( uint blockIndex, BlockType blockType, uint indexValue ) : void | ||
blockIndex | uint | the index value of this block |
blockType | BlockType | the type of this block. |
indexValue | uint | a value put in the footer of the block designating the index of this block |
return | void |
public WriteToNewBlock ( uint blockIndex, BlockType blockType, uint indexValue ) : void | ||
blockIndex | uint | the index value of this block |
blockType | BlockType | the type of this block. |
indexValue | uint | a value put in the footer of the block designating the index of this block |
return | void |