DefragmentConfig Class

Summary

Configuration for a defragmentation run.
Assembly
Db4objects.Db4o-2010.dll
Namespace
Db4objects.Db4o.Defragment
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["DefragmentConfig"] class Type type-node

Syntax

public class DefragmentConfig

Remarks

Configuration for a defragmentation run.

Constructors

Name Summary
DefragmentConfig(string, string, IIdMapping) Creates a configuration for a defragmentation run.
DefragmentConfig(string, string) Creates a configuration for a defragmentation run with in-memory mapping.
DefragmentConfig(string) Creates a configuration for a defragmentation run.

Fields

Name Constant Value Summary
BackupSuffix
static
Debug False
static

Methods

Name Value Summary
BackupPath() string
BackupStorage() IStorage
BackupStorage(IStorage) void
BlockSize() int
ClonedDb4oConfig() IConfiguration
Db4oConfig() IConfiguration
Db4oConfig(IConfiguration) void
Db4oConfig(IEmbeddedConfiguration) void
FileNeedsUpgrade() bool
ForceBackupDelete() bool
ForceBackupDelete(bool) void
Mapping() IIdMapping
ObjectCommitFrequency() int
ObjectCommitFrequency(int) void
OrigPath() string
ReadOnly() bool
ReadOnly(bool) void
allows turning on and off readonly mode.

When changed classes are likely to be detected defragment, it may be required to open the original database in read/write mode.
StoredClassFilter() IStoredClassFilter
StoredClassFilter(IStoredClassFilter) void
TempPath() string
UpgradeFile(string) void
Instruct the defragment process to upgrade the source file to the current db4o version prior to defragmenting it.
VanillaDb4oConfig(int) IConfiguration
static

See Also

  • Db4objects.Db4o.Defragment.Defragment