com.db4o
Interface EmbeddedObjectContainer
- All Superinterfaces:
- ObjectContainer
public interface EmbeddedObjectContainer
- extends ObjectContainer
Represents a local ObjectContainer attached to a
database file.
- Since:
- 7.10
Method Summary |
void |
backup(java.lang.String path)
backs up a database file of an open ObjectContainer. |
Methods inherited from interface com.db4o.ObjectContainer |
activate, close, commit, deactivate, delete, ext, query, query, query, query, query, queryByExample, rollback, store |
backup
void backup(java.lang.String path)
throws Db4oIOException,
DatabaseClosedException,
com.db4o.foundation.NotSupportedException
- backs up a database file of an open ObjectContainer.
While the backup is running, the ObjectContainer can continue to be
used. Changes that are made while the backup is in progress, will be applied to
the open ObjectContainer and to the backup.
While the backup is running, the ObjectContainer should not be closed.
If a file already exists at the specified path, it will be overwritten.
The Storage
used for backup is the one configured for this container.
- Parameters:
path
- a fully qualified path
- Throws:
DatabaseClosedException
- db4o database file was closed or failed to open.
com.db4o.foundation.NotSupportedException
- is thrown when the operation is not supported in current
configuration/environment
Db4oIOException
- I/O operation failed or was unexpectedly interrupted.
Copyright 2009 Versant Corporation. All rights reserved.