db4o

Configuration.io Method 

allows to configure db4o to use a customized byte IO adapter.

[Visual Basic]
Sub io( _ 
   ByVal adapter As IoAdapter _ 
)
[C#]
void io(
   IoAdapter adapter
);
[C++]
void io(
   IoAdapter* adapter
);
[JScript]
function io(
   IoAdapter adapter
);

Parameters

adapter
- the IoAdapter

Remarks

allows to configure db4o to use a customized byte IO adapter.

Derive from the abstract class IoAdapter to write your own. Possible usecases could be improved performance with a native library, mirrored write to two files or read-on-write fail-safety control.

Sample IoAdapters are supplied with the distribution as source code.

See Also

Configuration Interface | com.db4o.config Namespace