db4o

Defragment.Defrag Method (DefragmentConfig)

Renames the file at the configured original path to the configured backup path and then builds a defragmented version of the file in the original place.

public static void Defrag(
   DefragmentConfig config
);

Parameters

config
The configuration for this defragmentation run.

Remarks

Renames the file at the configured original path to the configured backup path and then builds a defragmented version of the file in the original place.

Exceptions

Exception Type Condition
IOException if the original file cannot be moved to the backup location

See Also

Defragment Class | Db4objects.Db4o.Defragment Namespace | Defragment.Defrag Overload List