[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
The following tables list the members exposed by the IConfiguration type.
Public Methods
Name | Description | |||||
---|---|---|---|---|---|---|
![]() | ActivationDepth | sets the activation depth to the specified value. | ||||
![]() | AddAlias | adds a new Alias for a class, namespace or package. | ||||
![]() | AllowVersionUpdates | turns automatic database file format version updates on. | ||||
![]() | AutomaticShutDown | turns automatic shutdown of the engine on and off. | ||||
![]() | BlockSize | sets the storage data blocksize for new ObjectContainers. | ||||
![]() | BTreeCacheHeight | configures caching of BTree nodes. | ||||
![]() | BTreeNodeSize | configures the size of BTree nodes in indexes. | ||||
![]() | Callbacks | turns callback methods on and off. | ||||
![]() | CallConstructors |
advises db4o to try instantiating objects with/without calling
constructors.
| ||||
![]() | ClassActivationDepthConfigurable |
turns
individual class activation depth configuration
on
and off.
This feature is turned on by default. | ||||
![]() | ClientServer | returns the freespace configuration interface. | ||||
![]() | DetectSchemaChanges |
tuning feature: configures whether db4o checks all persistent classes upon system
startup, for added or removed fields.
| ||||
![]() | Diagnostic | returns the configuration interface for diagnostics. | ||||
![]() | DisableCommitRecovery | turns commit recovery off. | ||||
![]() | DiscardFreeSpace |
tuning feature: configures the minimum size of free space slots in the database file
that are to be reused.
| ||||
![]() | Encrypt | configures the use of encryption. | ||||
![]() | ExceptionsOnNotStorable | configures whether Exceptions are to be thrown, if objects can not be stored.
| ||||
![]() | FlushFileBuffers | configures file buffers to be flushed during transaction commits. | ||||
![]() | Freespace | returns the freespace configuration interface. | ||||
![]() | GenerateUUIDs | Overloaded. | ||||
![]() | GenerateVersionNumbers | Overloaded. | ||||
![]() | InternStrings | Configures db4o to call intern() on strings upon retrieval. | ||||
![]() | Io | allows to configure db4o to use a customized byte IO adapter. | ||||
![]() | LockDatabaseFile | can be used to turn the database file locking thread off. | ||||
![]() | MarkTransient | allows to mark fields as transient with custom attributes. | ||||
![]() | MessageLevel | sets the detail level of db4o messages. | ||||
![]() | ObjectClass |
returns an
ObjectClass
object
to configure the specified class.
The clazz parameter can be any of the following: - a fully qualified classname as a String. - a Class object. - any other object to be used as a template. | ||||
![]() | OptimizeNativeQueries | Overloaded. | ||||
![]() | Password | protects the database file with a password. | ||||
![]() | Queries | returns the Query configuration interface. | ||||
![]() | ReadOnly | turns readOnly mode on and off. | ||||
![]() | ReflectWith | configures the use of a specially designed reflection implementation. | ||||
![]() | RefreshClasses | forces analysis of all Classes during a running session. | ||||
![]() | RemoveAlias |
Removes an alias previously added with
addAlias
.
| ||||
![]() | ReserveStorageSpace | tuning feature only: reserves a number of bytes in database files. | ||||
![]() | SetBlobPath |
configures the path to be used to store and read
Blob data.
| ||||
![]() | SetClassLoader | configures db4o to use a custom ClassLoader. | ||||
![]() | SetOut |
Assigns a
PrintStream
where db4o is to print its event messages.
Messages are useful for debugging purposes and for learning to understand, how db4o works. The message level can be raised with Db4o.configure().messageLevel() to produce more detailed messages. Use
| ||||
![]() | TestConstructors |
tuning feature: configures whether db4o should try to instantiate one instance
of each persistent class on system startup.
| ||||
![]() | Unicode | configures the storage format of Strings. | ||||
![]() | UpdateDepth | specifies the global updateDepth. | ||||
![]() | WeakReferenceCollectionInterval | configures the timer for WeakReference collection. | ||||
![]() | WeakReferences | turns weak reference management on or off. |