C# Class DBreeze.LianaTrie.NestedTableStorage

Inheritance: IStorage
显示文件 Open project: hhblaze/DBreeze

Public Methods

Method Description
Commit ( ) : void
NestedTableStorage ( IStorage masterStorage, TrieSettings trieSettings ) : System
RecreateFiles ( ) : void
RestoreTableFromTheOtherTable ( string newTableFullPath ) : void

Works only for master tables

Rollback ( ) : void
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

NestedTableStorage() public method

public NestedTableStorage ( IStorage masterStorage, TrieSettings trieSettings ) : System
masterStorage IStorage
trieSettings DBreeze.Storage.TrieSettings
return System

RecreateFiles() public method

public RecreateFiles ( ) : void
return void

RestoreTableFromTheOtherTable() public method

Works only for master tables
public RestoreTableFromTheOtherTable ( string newTableFullPath ) : void
newTableFullPath string
return void

Rollback() public method

public Rollback ( ) : void
return void

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