TransactionalFileStructure Class

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.

Definition

Namespace: SnapDB.IO.FileStructure
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public class TransactionalFileStructure : IDisposable
Inheritance
Object    TransactionalFileStructure
Implements
IDisposable

Properties

ArchiveSize Gets the current size of the archive.
FileName Gets the file name for the TransactionalFileStructure
Snapshot Gets the last committed read snapshot on the file system.

Methods

BeginEdit Starts a transactional edit on the specified file.
ChangeExtension Changes the extension of the current file.
ChangeShareMode Reopens the file with different permissions.
CreateFile Creates a new archive editable file using the provided file.
CreateInMemory Creates a new archive file that is completely in memory.
Dispose Releases all the resources used by the TransactionalFileStructure object.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OpenFile Opens an existing file.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also