C# Class Deveel.Data.Store.SingleFileStoreSystem

Inheritance: IStoreSystem
Mostra file Open project: deveel/deveeldb Class Usage Examples

Private Properties

Property Type Description
Configure void
Dispose void
FindMaxStoreId int
GetDataStartOffset long
IStoreSystem IStore
IStoreSystem bool
LoadHeaders void
LoadStoreData Stream
LoadStores void
OpenOrCreateFile void
TryFindStore bool
WriteHeaders void
WriteStoreInfo long
WriteStores void

Public Methods

Method Description
CloseStore ( SingleFileStore store ) : bool
CreateStore ( string name ) : SingleFileStore
DeleteStore ( SingleFileStore store ) : bool
Dispose ( ) : void
Lock ( string lockName ) : void
OpenStore ( string name ) : SingleFileStore
SetCheckPoint ( ) : void
SingleFileStoreSystem ( IDatabaseContext context, IConfiguration configuration ) : System
StoreExists ( string name ) : bool
Unlock ( string lockName ) : void

Private Methods

Method Description
Configure ( IConfiguration config ) : void
Dispose ( bool disposing ) : void
FindMaxStoreId ( ) : int
GetDataStartOffset ( ) : long
IStoreSystem ( string name ) : IStore
IStoreSystem ( IStore store ) : bool
LoadHeaders ( BinaryReader reader ) : void
LoadStoreData ( int id ) : Stream
LoadStores ( IFile dataFile ) : void
OpenOrCreateFile ( ) : void
TryFindStore ( string storeName, SingleFileStore &store ) : bool
WriteHeaders ( Stream stream, long dataStartOffset ) : void
WriteStoreInfo ( BinaryWriter writer, long offset, SingleFileStore store ) : long
WriteStores ( Stream stream ) : void

Method Details

CloseStore() public method

public CloseStore ( SingleFileStore store ) : bool
store SingleFileStore
return bool

CreateStore() public method

public CreateStore ( string name ) : SingleFileStore
name string
return SingleFileStore

DeleteStore() public method

public DeleteStore ( SingleFileStore store ) : bool
store SingleFileStore
return bool

Dispose() public method

public Dispose ( ) : void
return void

Lock() public method

public Lock ( string lockName ) : void
lockName string
return void

OpenStore() public method

public OpenStore ( string name ) : SingleFileStore
name string
return SingleFileStore

SetCheckPoint() public method

public SetCheckPoint ( ) : void
return void

SingleFileStoreSystem() public method

public SingleFileStoreSystem ( IDatabaseContext context, IConfiguration configuration ) : System
context IDatabaseContext
configuration IConfiguration
return System

StoreExists() public method

public StoreExists ( string name ) : bool
name string
return bool

Unlock() public method

public Unlock ( string lockName ) : void
lockName string
return void