The methods of the Configuration interface are listed below. For a complete list of Configuration interface members, see the Configuration Members topic.
![]() |
sets the activation depth to the specified value. |
![]() |
adds a new Alias for a class, namespace or package. |
![]() |
turns automatic database file format version updates on. |
![]() |
turns automatic shutdown of the engine on and off. |
![]() |
sets the storage data blocksize for new ObjectContainers. |
![]() |
configures caching of BTree nodes. |
![]() |
configures the size of BTree nodes in indexes. |
![]() |
turns callback methods on and off. |
![]() |
advises db4o to try instantiating objects with/without calling constructors. |
![]() |
turns individual class activation depth configuration on and off. This feature is turned on by default. |
![]() |
tuning feature: configures whether db4o checks all persistent classes upon system startup, for added or removed fields. |
![]() |
returns the configuration interface for diagnostics. |
![]() |
turns commit recovery off. |
![]() |
tuning feature: configures the minimum size of free space slots in the database file that are to be reused. |
![]() |
configures the use of encryption. |
![]() |
configures whether Exceptions are to be thrown, if objects can not be stored. |
![]() |
configures file buffers to be flushed during transaction commits. |
![]() |
returns the freespace configuration interface |
![]() |
configures db4o to generate UUIDs for stored objects. |
![]() |
configures db4o to generate version numbers for stored objects. |
![]() |
returns the MessageSender for this Configuration context. |
![]() |
Configures db4o to call intern() on strings upon retrieval. |
![]() |
allows to configure db4o to use a customized byte IO adapter. |
![]() |
can be used to turn the database file locking thread off. |
![]() |
allows to mark fields as transient with custom attributes. |
![]() |
sets the detail level of db4o messages. |
![]() |
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. |
![]() |
Overloaded. If set to true, db4o will try to optimize native queries dynamically at query execution time, otherwise it will run native queries in unoptimized mode as SODA evaluations. |
![]() |
protects the database file with a password. |
![]() |
turns readOnly mode on and off. |
![]() |
configures the use of a specially designed reflection implementation. |
![]() |
forces analysis of all Classes during a running session. |
![]() |
tuning feature only: reserves a number of bytes in database files. |
![]() |
configures the path to be used to store and read Blob data. |
![]() |
configures db4o to use a custom ClassLoader. |
![]() |
sets the MessageRecipient to receive Client Server messages. |
![]() |
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 setOut(System.out)to print messages to the console. |
![]() |
configures the client messaging system to be single threaded or multithreaded. |
![]() |
tuning feature: configures whether db4o should try to instantiate one instance of each persistent class on system startup. |
![]() |
configures the time a client waits for a message response from the server. |
![]() |
configures the delay time after which the server starts pinging connected clients to check the connection. |
![]() |
configures the timeout of the serverside socket. |
![]() |
configures the storage format of Strings. |
![]() |
specifies the global updateDepth. |
![]() |
configures the timer for WeakReference collection. |
![]() |
turns weak reference management on or off. |
Configuration Interface | com.db4o.config Namespace