IIdMapping Interface

Summary

The ID mapping used internally during a defragmentation run.
graph BT Type["IIdMapping"] class Type type-node Implementing0["DatabaseIdMapping"]-.->Type click Implementing0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Defragment/DatabaseIdMapping" Implementing1["AbstractIdMapping"]-.->Type click Implementing1 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Defragment/AbstractIdMapping" Implementing2["InMemoryIdMapping"]-.->Type click Implementing2 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Defragment/InMemoryIdMapping"

Syntax

public interface IIdMapping

Remarks

The ID mapping used internally during a defragmentation run.

Methods

Name Value Summary
AddressForId(int) int
returns the slot address for an ID
Close() void
Shuts down the mapping after use.
Commit() void
MapId(int, int, bool) void
Registers a mapping for the given IDs.
MapId(int, Slot) void
Maps an ID to a slot
MappedId(int) int
Returns a previously registered mapping ID for the given ID if it exists.
Open() void
Prepares the mapping for use.
SlotChanges() IVisitable
provides a Visitable of all mappings of IDs to slots.

See Also

  • Db4objects.Db4o.Defragment.Defragment