public interface FreespaceConfiguration
useBTreeSystem() , useRamSystem() )
this will happen on opening the database file.| Modifier and Type | Method and Description |
|---|---|
void |
discardSmallerThan(int byteCount)
tuning feature: configures the minimum size of free space slots in the database file
that are to be reused.
|
void |
freespaceFiller(FreespaceFiller freespaceFiller)
Configure a way to overwrite freed space in the database file with custom
(for example: random) bytes.
|
void |
useBTreeSystem()
configures db4o to use a BTree-based freespace system.
|
void |
useIndexSystem()
Deprecated.
Please use the BTree freespace system instead by
calling
useBTreeSystem(). |
void |
useRamSystem()
configures db4o to use a RAM-based freespace system.
|
void discardSmallerThan(int byteCount)
Integer.MAX_VALUE to this method to discard all free slots for
the best possible startup time.0 all space is reusedbyteCount - Slots with this size or smaller will be lost.void freespaceFiller(FreespaceFiller freespaceFiller)
freespaceFiller - The freespace overwriting callback to usevoid useBTreeSystem()
void useIndexSystem()
useBTreeSystem().void useRamSystem()