C# Class DBreeze.Storage.StorageLayer

Storage layer
Inheritance: IStorage
ファイルを表示 Open project: hhblaze/DBreeze Class Usage Examples

Public Methods

Method Description
Commit ( ) : void
RecreateFiles ( ) : void
RestoreTableFromTheOtherTable ( string newTableFullPath ) : void
Rollback ( ) : void
StorageLayer ( string fileName, TrieSettings trieSettings, DBreezeConfiguration configuration ) : System
Table_Dispose ( ) : void
Table_Read ( bool useCache, byte offset, int quantity ) : byte[]
Table_Read ( bool useCache, long offset, int quantity ) : byte[]
Table_WriteByOffset ( byte offset, byte data ) : void
Table_WriteByOffset ( long offset, byte data ) : void
Table_WriteToTheEnd ( byte data ) : byte[]
TransactionalCommit ( ) : void
TransactionalCommitIsFinished ( ) : void
TransactionalRollback ( ) : void

Method Details

Commit() public method

public Commit ( ) : void
return void

RecreateFiles() public method

public RecreateFiles ( ) : void
return void

RestoreTableFromTheOtherTable() public method

public RestoreTableFromTheOtherTable ( string newTableFullPath ) : void
newTableFullPath string
return void

Rollback() public method

public Rollback ( ) : void
return void

StorageLayer() public method

public StorageLayer ( string fileName, TrieSettings trieSettings, DBreezeConfiguration configuration ) : System
fileName string
trieSettings TrieSettings
configuration DBreezeConfiguration
return System

Table_Dispose() public method

public Table_Dispose ( ) : void
return void

Table_Read() public method

public Table_Read ( bool useCache, byte offset, int quantity ) : byte[]
useCache bool
offset byte
quantity int
return byte[]

Table_Read() public method

public Table_Read ( bool useCache, long offset, int quantity ) : byte[]
useCache bool
offset long
quantity int
return byte[]

Table_WriteByOffset() public method

public Table_WriteByOffset ( byte offset, byte data ) : void
offset byte
data byte
return void

Table_WriteByOffset() public method

public Table_WriteByOffset ( long offset, byte data ) : void
offset long
data byte
return void

Table_WriteToTheEnd() public method

public Table_WriteToTheEnd ( byte data ) : byte[]
data byte
return byte[]

TransactionalCommit() public method

public TransactionalCommit ( ) : void
return void

TransactionalCommitIsFinished() public method

public TransactionalCommitIsFinished ( ) : void
return void

TransactionalRollback() public method

public TransactionalRollback ( ) : void
return void