C# Class Deveel.Data.Store.InMemoryStore

An implementation of IStore that persists data in the application memory.
Inheritance: IStore
Show file Open project: deveel/deveeldb Class Usage Examples

Private Properties

Property Type Description
Dispose void
GetAreaBlock InMemoryBlock
GetBlock InMemoryBlock
InMemoryStore System

Public Methods

Method Description
CheckPoint ( ) : void
CreateArea ( long size ) : IArea
DeleteArea ( long id ) : void
Dispose ( ) : void
GetAllAreas ( ) : IEnumerable
GetArea ( long id, bool readOnly ) : IArea
Lock ( ) : void
Unlock ( ) : void

Private Methods

Method Description
Dispose ( bool disposing ) : void
GetAreaBlock ( long pointer ) : InMemoryBlock
GetBlock ( long pointer ) : InMemoryBlock
InMemoryStore ( string name, int hashSize ) : System

Method Details

CheckPoint() public method

public CheckPoint ( ) : void
return void

CreateArea() public method

public CreateArea ( long size ) : IArea
size long
return IArea

DeleteArea() public method

public DeleteArea ( long id ) : void
id long
return void

Dispose() public method

public Dispose ( ) : void
return void

GetAllAreas() public method

public GetAllAreas ( ) : IEnumerable
return IEnumerable

GetArea() public method

public GetArea ( long id, bool readOnly ) : IArea
id long
readOnly bool
return IArea

Lock() public method

public Lock ( ) : void
return void

Unlock() public method

public Unlock ( ) : void
return void