C# Class Deveel.Data.Store.SingleFileStoreSystem

Inheritance: IStoreSystem
Afficher le fichier Open project: deveel/deveeldb Class Usage Examples

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

public CloseStore ( SingleFileStore store ) : bool
store SingleFileStore
Résultat bool

CreateStore() public méthode

public CreateStore ( string name ) : SingleFileStore
name string
Résultat SingleFileStore

DeleteStore() public méthode

public DeleteStore ( SingleFileStore store ) : bool
store SingleFileStore
Résultat bool

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Lock() public méthode

public Lock ( string lockName ) : void
lockName string
Résultat void

OpenStore() public méthode

public OpenStore ( string name ) : SingleFileStore
name string
Résultat SingleFileStore

SetCheckPoint() public méthode

public SetCheckPoint ( ) : void
Résultat void

SingleFileStoreSystem() public méthode

public SingleFileStoreSystem ( IDatabaseContext context, IConfiguration configuration ) : System
context IDatabaseContext
configuration IConfiguration
Résultat System

StoreExists() public méthode

public StoreExists ( string name ) : bool
name string
Résultat bool

Unlock() public méthode

public Unlock ( string lockName ) : void
lockName string
Résultat void