public class IdSystemConfigurationImpl extends java.lang.Object implements IdSystemConfiguration
| Constructor and Description |
|---|
IdSystemConfigurationImpl(Config4Impl config) |
| Modifier and Type | Method and Description |
|---|---|
void |
useCustomSystem(IdSystemFactory factory)
configures db4o to use a custom ID system.
|
void |
useInMemorySystem()
configures db4o to use an in-memory ID system.
|
void |
usePointerBasedSystem()
configures db4o to store IDs as pointers.
|
void |
useSingleBTreeSystem()
configures db4o to use a single BTreeIdSystem on
top of an InMemoryIdSystem.
|
void |
useStackedBTreeSystem()
configures db4o to use a stack of two BTreeIdSystems on
top of an InMemoryIdSystem.
|
public IdSystemConfigurationImpl(Config4Impl config)
public void usePointerBasedSystem()
IdSystemConfigurationusePointerBasedSystem in interface IdSystemConfigurationpublic void useStackedBTreeSystem()
IdSystemConfigurationuseStackedBTreeSystem in interface IdSystemConfigurationpublic void useInMemorySystem()
IdSystemConfigurationuseInMemorySystem in interface IdSystemConfigurationpublic void useCustomSystem(IdSystemFactory factory)
IdSystemConfigurationIdSystemFactory that creates the IdSystem.
Note that this factory has to be configured every time you
open a database that you configured to use a custom IdSystem.useCustomSystem in interface IdSystemConfigurationpublic void useSingleBTreeSystem()
IdSystemConfigurationIdSystemConfiguration.useStackedBTreeSystem().useSingleBTreeSystem in interface IdSystemConfiguration