db4o 7.4

Package com.db4o.io

Class Summary
CachedIoAdapter CachedIoAdapter is an IOAdapter for random access files, which caches data for IO access.
IoAdapter Base class for database file adapters, both for file and memory databases.
IoAdapterWindow Bounded handle into an IoAdapter: Can only access a restricted area.
MemoryIoAdapter IoAdapter for in-memory operation.
NonFlushingIoAdapter Delegating IoAdapter that does not pass on calls to sync data to the underlying device.
RandomAccessFileAdapter IO adapter for random access files.
SymbianIoAdapter Workaround for two I/O bugs in Symbian JDK versions:
- seek() cannot move beyond the current file length.
Fix: Write padding bytes up to the seek target if necessary
- Under certain (rare) conditions, calls to RAF.length() seems to garble up following reads.
Fix: Use a second RAF handle to the file for length() calls only.

Usage:
Db4o.configure().io(new com.db4o.io.SymbianIoAdapter())

TODO:
- BasicClusterTest C/S fails (in AllTests context only)
VanillaIoAdapter base class for IoAdapters that delegate to other IoAdapters (decorator pattern)
 


db4o 7.4

Copyright 2007 db4objects Inc. All rights reserved.