public interface Storage
Bin
to store db4o database data to.FileConfiguration.storage(Storage)| Modifier and Type | Method and Description |
|---|---|
void |
delete(java.lang.String uri)
Deletes the bin for the given URI from the storage.
|
boolean |
exists(java.lang.String uri)
returns true if a Bin (file or memory) exists with the passed name.
|
Bin |
open(BinConfiguration config)
opens a
Bin to store db4o database data. |
void |
rename(java.lang.String oldUri,
java.lang.String newUri)
Renames the bin for the given old URI to the new URI.
|
Bin open(BinConfiguration config) throws Db4oIOException
Bin to store db4o database data.Db4oIOExceptionboolean exists(java.lang.String uri)
void delete(java.lang.String uri)
throws java.io.IOException
uri - bin URIjava.io.IOException - if the bin could not be deletedvoid rename(java.lang.String oldUri,
java.lang.String newUri)
throws java.io.IOException
oldUri - URI of the existing binnewUri - future URI of the binjava.io.IOException - if the bin could not be deleted