DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
An implementation of IStore that persists data in the application memory. More...
Classes | |
class | InMemoryArea |
class | InMemoryBlock |
Public Member Functions | |
void | Dispose () |
IArea | CreateArea (long size) |
Allocates a block of memory in the store of the specified size and returns an IArea object that can be used to initialize the contents of the area. More... | |
void | DeleteArea (long id) |
Deletes an area that was previously allocated by the CreateArea method by the area id. More... | |
IArea | GetArea (long id, bool readOnly) |
Returns an object that allows for the contents of an area (represented by the id parameter) to be Read. More... | |
void | Lock () |
This method is called before the start of a sequence of Write commands between consistant states of some data structure represented by the store. More... | |
void | Unlock () |
This method is called after the end of a sequence of Write commands between consistant states of some data structure represented by the store. More... | |
void | CheckPoint () |
IEnumerable< long > | GetAllAreas () |
Returns a complete list of pointers to all areas in the Store as long objects sorted from lowest pointer to highest. More... | |
Package Functions | |
InMemoryStore (string name, int hashSize) | |
Properties | |
string | Name [get, private set] |
Gets the unique name of the store within the application. More... | |
InMemoryBlock | FixedAreaBlock [get] |
bool | ClosedClean [get] |
Properties inherited from Deveel.Data.Store.IStore | |
bool | ClosedClean [get] |
Indicates if the store was closed cleanly last time was accessed. More... | |
Private Member Functions | |
~InMemoryStore () | |
void | Dispose (bool disposing) |
InMemoryBlock | GetBlock (long pointer) |
InMemoryBlock | GetAreaBlock (long pointer) |
Private Attributes | |
InMemoryBlock | fixedAreaBlock |
InMemoryBlock[] | areaMap |
long | uniqueIdKey |
An implementation of IStore that persists data in the application memory.
Definition at line 27 of file InMemoryStore.cs.
|
inlinepackage |
Definition at line 32 of file InMemoryStore.cs.
|
inlineprivate |
Definition at line 38 of file InMemoryStore.cs.
|
inline |
Definition at line 171 of file InMemoryStore.cs.
|
inline |
Allocates a block of memory in the store of the specified size and returns an IArea object that can be used to initialize the contents of the area.
Implements Deveel.Data.Store.IStore.
Definition at line 105 of file InMemoryStore.cs.
|
inline |
Deletes an area that was previously allocated by the CreateArea method by the area id.
Implements Deveel.Data.Store.IStore.
Definition at line 129 of file InMemoryStore.cs.
|
inlineprivate |
Definition at line 58 of file InMemoryStore.cs.
|
inline |
Definition at line 65 of file InMemoryStore.cs.
|
inline |
Returns a complete list of pointers to all areas in the Store as long objects sorted from lowest pointer to highest.
Implements Deveel.Data.Store.IStore.
Definition at line 180 of file InMemoryStore.cs.
|
inline |
Returns an object that allows for the contents of an area (represented by the id parameter) to be Read.
Implements Deveel.Data.Store.IStore.
Definition at line 158 of file InMemoryStore.cs.
|
inlineprivate |
Definition at line 77 of file InMemoryStore.cs.
|
inlineprivate |
Definition at line 70 of file InMemoryStore.cs.
|
inline |
This method is called before the start of a sequence of Write commands between consistant states of some data structure represented by the store.
Implements Deveel.Data.Store.IStore.
Definition at line 163 of file InMemoryStore.cs.
|
inline |
This method is called after the end of a sequence of Write commands between consistant states of some data structure represented by the store.
Implements Deveel.Data.Store.IStore.
Definition at line 167 of file InMemoryStore.cs.
|
private |
Definition at line 29 of file InMemoryStore.cs.
|
private |
Definition at line 28 of file InMemoryStore.cs.
|
private |
Definition at line 30 of file InMemoryStore.cs.
|
get |
Definition at line 175 of file InMemoryStore.cs.
|
getprivate |
Definition at line 47 of file InMemoryStore.cs.
|
getprivate set |
Gets the unique name of the store within the application.
Definition at line 45 of file InMemoryStore.cs.