SnapDB.IO.FileStructure Namespace
The
SnapDB.IO.FileStructure namespace organizes all common SnapDB library functionality related to file and subfile structuring,
e.g., the
FileHeaderBlock class.
| FileHeaderBlock |
Contains the information that is in the header page of an archive file.
|
| ReadSnapshot |
Acquires a snapshot of the file system to browse in an isolated manner.
This is read only and will also block the main file from being deleted.
Therefore it is important to release this lock so the file can be deleted after a rollover.
|
| SimplifiedFileWriter |
Assists in the writing of a simplified file. This file can only be appended to
and it must be sequentially written.
|
| SubFileHeader |
This contains the meta data of the file along with index information to map all of the blocks of the file.
|
| SubFileName |
This is used to generate the file name that will be used for the subfile.
|
| SubFileStream |
Provides a file stream that can be used to open a file and does all of the background work
required to translate virtual position data into physical ones.
|
| TransactionalEdit |
Provides the state information for a transaction on the file system.
|
| TransactionalFileStructure |
This class is responsible for managing the transactions that occur on the file system.
Therefore, it keeps up with the latest snapshot of the file allocation table,
permits only a single concurrent edit of the archive system, and determines when a file
can be deleted when there are no read or write transactions. It also containst the IO system.
|