C# Class BTDB.KVDBLayer.InMemoryKeyValueDB

Inheritance: IKeyValueDB
Exibir arquivo Open project: Bobris/BTDB Class Usage Examples

Private Properties

Property Type Description
CommitWrittingTransaction void
MakeWrittableTransaction IBTreeRootNode
NewWrittingTransactionUnsafe void
RevertWrittingTransaction void
TryDequeWaiterForWrittingTransaction void

Public Methods

Method Description
CalcStats ( ) : string
Compact ( CancellationToken cancellation ) : bool
Dispose ( ) : void
InMemoryKeyValueDB ( ) : System
StartReadOnlyTransaction ( ) : IKeyValueDBTransaction
StartTransaction ( ) : IKeyValueDBTransaction
StartWritingTransaction ( ) : Task

Private Methods

Method Description
CommitWrittingTransaction ( IBTreeRootNode btreeRoot ) : void
MakeWrittableTransaction ( BTDB.KVDBLayer.InMemoryKeyValueDBTransaction keyValueDBTransaction, IBTreeRootNode btreeRoot ) : IBTreeRootNode
NewWrittingTransactionUnsafe ( TaskCompletionSource tcs ) : void
RevertWrittingTransaction ( ) : void
TryDequeWaiterForWrittingTransaction ( ) : void

Method Details

CalcStats() public method

public CalcStats ( ) : string
return string

Compact() public method

public Compact ( CancellationToken cancellation ) : bool
cancellation System.Threading.CancellationToken
return bool

Dispose() public method

public Dispose ( ) : void
return void

InMemoryKeyValueDB() public method

public InMemoryKeyValueDB ( ) : System
return System

StartReadOnlyTransaction() public method

public StartReadOnlyTransaction ( ) : IKeyValueDBTransaction
return IKeyValueDBTransaction

StartTransaction() public method

public StartTransaction ( ) : IKeyValueDBTransaction
return IKeyValueDBTransaction

StartWritingTransaction() public method

public StartWritingTransaction ( ) : Task
return Task