IStorage Interface

Summary

Base interface for Storage adapters that open a Db4objects.Db4o.IO.IBin to store db4o database data to.
graph BT Type["IStorage"] class Type type-node Implementing0["FileStorage"]-.->Type click Implementing0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.IO/FileStorage" Implementing1["MemoryStorage"]-.->Type click Implementing1 "/db4o-gpl-doc/output/api/Db4objects.Db4o.IO/MemoryStorage" Implementing2["CachingStorage"]-.->Type click Implementing2 "/db4o-gpl-doc/output/api/Db4objects.Db4o.IO/CachingStorage" Implementing3["NonFlushingStorage"]-.->Type click Implementing3 "/db4o-gpl-doc/output/api/Db4objects.Db4o.IO/NonFlushingStorage" Implementing4["StorageDecorator"]-.->Type click Implementing4 "/db4o-gpl-doc/output/api/Db4objects.Db4o.IO/StorageDecorator" Implementing5["PagingMemoryStorage"]-.->Type click Implementing5 "/db4o-gpl-doc/output/api/Db4objects.Db4o.IO/PagingMemoryStorage"

Syntax

public interface IStorage

Methods

Name Value Summary
Delete(string) void
Deletes the bin for the given URI from the storage.
Exists(string) bool
returns true if a Bin (file or memory) exists with the passed name.
Open(BinConfiguration) IBin
opens a Db4objects.Db4o.IO.IBin to store db4o database data.
Rename(string, string) void
Renames the bin for the given old URI to the new URI.

See Also

  • Db4objects.Db4o.Config.IFileConfiguration.Storage(IStorage)