IFreespaceConfiguration Interface

Summary

interface to configure the freespace system to be used.
Assembly
Db4objects.Db4o-2010.dll
Namespace
Db4objects.Db4o.Config
Implementing Types
graph BT Type["IFreespaceConfiguration"] class Type type-node Implementing0["Config4Impl"]-.->Type click Implementing0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal/Config4Impl"

Syntax

public interface IFreespaceConfiguration

Remarks

interface to configure the freespace system to be used.

All methods should be called before opening database files. If db4o is instructed to exchange the system ( Db4objects.Db4o.Config.IFreespaceConfiguration.UseBTreeSystem , Db4objects.Db4o.Config.IFreespaceConfiguration.UseRamSystem ) this will happen on opening the database file.

By default the ram based system will be used.

Methods

Name Value Summary
DiscardSmallerThan(int) void
tuning feature: configures the minimum size of free space slots in the database file that are to be reused.
FreespaceFiller(IFreespaceFiller) void
Configure a way to overwrite freed space in the database file with custom (for example: random) bytes.
UseBTreeSystem() void
configures db4o to use a BTree-based freespace system.
UseIndexSystem() void
discontinued freespace system, only available before db4o 7.0.
UseRamSystem() void
configures db4o to use a RAM-based freespace system.