Package com.db4o.io
Class MemoryStorage
- java.lang.Object
- 
- com.db4o.io.MemoryStorage
 
- 
- 
Constructor SummaryConstructors Constructor Description MemoryStorage()MemoryStorage(GrowthStrategy growthStrategy)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MemoryBinbin(java.lang.String uri)Returns the memory bin for the given URI for external use.voidbin(java.lang.String uri, MemoryBin bin)Registers the given bin for this storage with the given URI.voiddelete(java.lang.String uri)Deletes the bin for the given URI from the storage.booleanexists(java.lang.String uri)returns true if a MemoryBin with the given URI name already exists in this Storage.Binopen(BinConfiguration config)opens a MemoryBin for the given URI (name can be freely chosen).voidrename(java.lang.String oldUri, java.lang.String newUri)Renames the bin for the given old URI to the new URI.
 
- 
- 
- 
Constructor Detail- 
MemoryStoragepublic MemoryStorage() 
 - 
MemoryStoragepublic MemoryStorage(GrowthStrategy growthStrategy) 
 
- 
 - 
Method Detail- 
existspublic boolean exists(java.lang.String uri) returns true if a MemoryBin with the given URI name already exists in this Storage.
 - 
openpublic Bin open(BinConfiguration config) throws Db4oIOException opens a MemoryBin for the given URI (name can be freely chosen).- Specified by:
- openin interface- Storage
- Throws:
- Db4oIOException
 
 - 
binpublic MemoryBin bin(java.lang.String uri) Returns the memory bin for the given URI for external use.
 - 
binpublic void bin(java.lang.String uri, MemoryBin bin)Registers the given bin for this storage with the given URI.
 - 
deletepublic void delete(java.lang.String uri) throws java.io.IOExceptionDescription copied from interface:StorageDeletes the bin for the given URI from the storage.
 - 
renamepublic void rename(java.lang.String oldUri, java.lang.String newUri) throws java.io.IOExceptionDescription copied from interface:StorageRenames the bin for the given old URI to the new URI. If a bin for the new URI exists, it will be overwritten.
 
- 
 
-