| java.lang.Object com.db4o.Db4o com.db4o.ext.ExtDb4o
ExtDb4o | public class ExtDb4o extends Db4o (Code) | | extended factory class with static methods to open special db4o sessions.
|
Method Summary | |
final public static ObjectContainer | openMemoryFile(MemoryFile memoryFile) Operates just like
ExtDb4o.openMemoryFile(ConfigurationMemoryFile) , but uses
the global db4o
Configuration Configuration context.
opens an
ObjectContainer for in-memory use .
In-memory ObjectContainers are useful for maximum performance
on small databases, for swapping objects or for storing db4o format data
to other media or other databases.
Be aware of the danger of running
into OutOfMemory problems or complete loss of all data, in case of hardware
or JVM failures.
Parameters: memoryFile - a MemoryFile MemoryFile to store the raw byte data. | final public static ObjectContainer | openMemoryFile(Configuration config, MemoryFile memoryFile) opens an
ObjectContainer for in-memory use .
In-memory ObjectContainers are useful for maximum performance
on small databases, for swapping objects or for storing db4o format data
to other media or other databases.
Be aware of the danger of running
into OutOfMemory problems or complete loss of all data, in case of hardware
or JVM failures.
Parameters: config - a custom Configuration Configuration instance to be obtained via Db4o.newConfiguration Parameters: memoryFile - a MemoryFile MemoryFile to store the raw byte data. |
openMemoryFile | final public static ObjectContainer openMemoryFile(Configuration config, MemoryFile memoryFile)(Code) | | opens an
ObjectContainer for in-memory use .
In-memory ObjectContainers are useful for maximum performance
on small databases, for swapping objects or for storing db4o format data
to other media or other databases.
Be aware of the danger of running
into OutOfMemory problems or complete loss of all data, in case of hardware
or JVM failures.
Parameters: config - a custom Configuration Configuration instance to be obtained via Db4o.newConfiguration Parameters: memoryFile - a MemoryFile MemoryFile to store the raw byte data. an open com.db4o.ObjectContainer ObjectContainer See Also: MemoryFile |
Methods inherited from com.db4o.Db4o | public static Configuration cloneConfiguration()(Code)(Java Doc) public static Configuration configure()(Code)(Java Doc) public static void main(String args)(Code)(Java Doc) public static Configuration newConfiguration()(Code)(Java Doc) public static ObjectContainer openClient(String hostName, int port, String user, String password) throws Db4oIOException, OldFormatException, InvalidPasswordException(Code)(Java Doc) public static ObjectContainer openClient(Configuration config, String hostName, int port, String user, String password) throws Db4oIOException, OldFormatException, InvalidPasswordException(Code)(Java Doc) public static ObjectContainer openClient(Configuration config, String hostName, int port, String user, String password, NativeSocketFactory socketFactory) throws Db4oIOException, OldFormatException, InvalidPasswordException(Code)(Java Doc) final public static ObjectContainer openFile(String databaseFileName) throws Db4oIOException, DatabaseFileLockedException, IncompatibleFileFormatException, OldFormatException, DatabaseReadOnlyException(Code)(Java Doc) final public static ObjectContainer openFile(Configuration config, String databaseFileName) throws Db4oIOException, DatabaseFileLockedException, IncompatibleFileFormatException, OldFormatException, DatabaseReadOnlyException(Code)(Java Doc) final protected static ObjectContainer openMemoryFile1(Configuration config, MemoryFile memoryFile) throws Db4oIOException, DatabaseFileLockedException, OldFormatException(Code)(Java Doc) final public static ObjectServer openServer(String databaseFileName, int port) throws Db4oIOException, IncompatibleFileFormatException, OldFormatException, DatabaseFileLockedException, DatabaseReadOnlyException(Code)(Java Doc) final public static ObjectServer openServer(Configuration config, String databaseFileName, int port) throws Db4oIOException, IncompatibleFileFormatException, OldFormatException, DatabaseFileLockedException, DatabaseReadOnlyException(Code)(Java Doc) final public static ObjectServer openServer(Configuration config, String databaseFileName, int port, NativeSocketFactory socketFactory) throws Db4oIOException, IncompatibleFileFormatException, OldFormatException, DatabaseFileLockedException, DatabaseReadOnlyException(Code)(Java Doc) final public static String version()(Code)(Java Doc)
|
|
|