DefragmentConfig.

DefragmentConfig(string, string, IIdMapping) Constructor

Summary

Creates a configuration for a defragmentation run.

Syntax

public DefragmentConfig(string origPath, string backupPath, IIdMapping mapping)

Remarks

Creates a configuration for a defragmentation run. All properties other than the provided paths are set to FALSE by default.

Parameters

Name Type Description
origPath string The path to the file to be defragmented. Must exist and must be a valid db4o file.
backupPath string The path to the backup of the original file. No file should exist at this position, otherwise it will be OVERWRITTEN if forceBackupDelete() is set to true!
mapping IIdMapping The Id mapping to be used internally. Pass either a Db4objects.Db4o.Defragment.InMemoryIdMapping for fastest defragment or a Db4objects.Db4o.Defragment.DatabaseIdMapping for low memory consumption.

Return Value

Type Description
void