[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Assembly: Db4objects.Db4o (in Db4objects.Db4o.dll)
IoAdapter for in-memory operation.
Namespace: Db4objects.Db4o.IO
Assembly: Db4objects.Db4o (in Db4objects.Db4o.dll)
Syntax
Remarks
IoAdapter for in-memory operation.
Configure db4o to operate with this in-memory IoAdapter with
Use the normal #openFile() and #openServer() commands to open ObjectContainers and ObjectServers. The names specified as file names will be used to identify the
content of the in-memory files in
the _memoryFiles Hashtable in the adapter. After working with an
in-memory ObjectContainer/ObjectServer the
content
is available in the MemoryIoAdapter by using
Db4objects.Db4o.IO.MemoryIoAdapter.Get
. To add old existing database
content to a MemoryIoAdapter use
Db4objects.Db4o.IO.MemoryIoAdapter.Put
. To reduce memory consumption of memory
file names that will no longer be used call
Db4objects.Db4o.IO.MemoryIoAdapter.Put
and pass an empty byte array.
Configure db4o to operate with this in-memory IoAdapter with
![]() | |
---|---|
MemoryIoAdapter memoryIoAdapter = new MemoryIoAdapter(); |
Use the normal #openFile() and #openServer() commands to open ObjectContainers and ObjectServers. The names specified as file names will be used to identify the
![]() | |
---|---|
byte[] |
![]() | |
---|---|
byte[] |
![]() | |
---|---|
byte[] |