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)
For a list of all members of this type, see SymbianIoAdapter Members.
System.Object
com.db4o.io.IoAdapter
com.db4o.io.RandomAccessFileAdapter
com.db4o.io.SymbianIoAdapter
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
Namespace: com.db4o.io
Assembly: db4o (in db4o.dll)
SymbianIoAdapter Members | com.db4o.io Namespace