Summary
File-related configuration methods, applicable
for db4o embedded use and on the server in a
Client/Server setup.
- Assembly
- Db4objects
.Db4o-2010 .dll - Namespace
- Db4objects
.Db4o .Config
graph BT
Type["IFileConfiguration"]
class Type type-node
Syntax
public interface IFileConfiguration
Remarks
File-related configuration methods, applicable
for db4o embedded use and on the server in a
Client/Server setup.
Properties
Name | Value | Summary |
---|---|---|
AsynchronousSync | bool |
turns asynchronous sync on and off.
One of the most costly operations during commit is the call to flush the buffers of the database file. |
BlobPath | string |
configures the path to be used to store and read
Blob data.
|
BlockSize | int |
sets the storage data blocksize for new ObjectContainers.
|
DatabaseGrowthSize | int |
configures the size database files should grow in bytes, when no
free slot is found within.
|
Freespace | I |
returns the freespace configuration interface.
|
Generate |
bool |
Configures db4o to generate commit timestamps for all stored objects.
All the objects commited within a transaction will share the same commit timestamp. |
GenerateUUIDs | ConfigScope |
configures db4o to generate UUIDs for stored objects.
|
Generate |
ConfigScope |
configures db4o to generate version numbers for stored objects.
|
LockDatabaseFile | bool |
can be used to turn the database file locking thread off.
|
Maximum |
long |
Configures an upper limit for the maximum database file size.
|
ReadOnly | bool |
turns readOnly mode on and off.
|
RecoveryMode | bool |
turns recovery mode on and off.
Recovery mode can be used to try to retrieve as much as possible out of an already corrupted database. |
ReserveStorageSpace | long |
tuning feature only: reserves a number of bytes in database files.
|
Storage | IStorage |
allows to configure db4o to use a customized byte IO storage mechanism.
returns the configured
Db4objects.Db4o.IO.IStorage
.
|
Methods
Name | Value | Summary |
---|---|---|
Disable |
void |
turns commit recovery off.
|
See Also
- Db4objects.Db4o.Config.IFileConfigurationProvider.File