Метод | Описание | |
---|---|---|
BulkLoadAsync ( Slice>.IEnumerable |
Replace the content of the database with existing data. Any pre-existing data will be removed! |
|
Collect ( ) : void |
Trigger a garbage collection of the memory database If the amount of memory that can be collected is too small, this operation will do nothing. |
|
CreateNew ( ) : |
||
CreateNew ( string name ) : |
||
CreateNew ( string name, FdbSubspace globalSpace, bool readOnly ) : |
||
LoadFromAsync ( string path, |
||
SaveSnapshotAsync ( string path, FoundationDB.Storage.Memory.API.MemorySnapshotOptions options = null, |
Метод | Описание | |
---|---|---|
Debug_Dump ( bool detailed = false ) : void | ||
MemoryDatabase ( IFdbCluster cluster, MemoryDatabaseHandler handler, string name, FdbSubspace globalSpace, IFdbDirectory directory, bool readOnly, bool ownsCluster ) : FoundationDB.Client |
public BulkLoadAsync ( Slice>.IEnumerable |
||
data | Slice>.IEnumerable | Data that will replace the content of the database. The elements do not need to be sorted, but best performance is achieved if all the keys are lexicographically ordered (smallest to largest) |
ordered | bool | |
cancellationToken | Optionnal cancellation token | |
Результат | Task |
public static CreateNew ( ) : |
||
Результат |
public static CreateNew ( string name ) : |
||
name | string | |
Результат |
public static CreateNew ( string name, FdbSubspace globalSpace, bool readOnly ) : |
||
name | string | |
globalSpace | FdbSubspace | |
readOnly | bool | |
Результат |
public static LoadFromAsync ( string path, |
||
path | string | |
cancellationToken | ||
Результат | Task |
public SaveSnapshotAsync ( string path, FoundationDB.Storage.Memory.API.MemorySnapshotOptions options = null, |
||
path | string | |
options | FoundationDB.Storage.Memory.API.MemorySnapshotOptions | |
cancellationToken | ||
Результат | Task |