BinDecorator Class

Summary

Wrapper baseclass for all classes that wrap Bin.
Assembly
Db4objects.Db4o-2010.dll
Namespace
Db4objects.Db4o.IO
Interfaces
Base Types
  • Object
Derived Types
graph BT Type-->Base0["Object"] Type-.->Interface0["IBin"] click Interface0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.IO/IBin" Type["BinDecorator"] class Type type-node Derived0["SynchronizedBin"]-->Type click Derived0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.IO/SynchronizedBin" Derived1["ThreadedSyncBin"]-->Type click Derived1 "/db4o-gpl-doc/output/api/Db4objects.Db4o.IO/ThreadedSyncBin" Derived2["ReadOnlyBin"]-->Type click Derived2 "/db4o-gpl-doc/output/api/Db4objects.Db4o.IO/ReadOnlyBin" Derived3["BlockAwareBin"]-->Type click Derived3 "/db4o-gpl-doc/output/api/Db4objects.Db4o.IO/BlockAwareBin"

Syntax

public class BinDecorator : IBin

Remarks

Wrapper baseclass for all classes that wrap Bin. Each class that adds functionality to a Bin can extend this class to allow db4o to access the delegate instance with Db4objects.Db4o.IO.StorageDecorator.Decorate(Db4objects.Db4o.IO.BinConfiguration,Db4objects.Db4o.IO.IBin) .

Constructors

Name Summary
BinDecorator(IBin) Default constructor.

Fields

Name Constant Value Summary
_bin

Methods

Name Value Summary
Close() void
closes the BinDecorator and the underlying Db4objects.Db4o.IO.IBin .
Length() long
Read(long, byte[], int) int
Sync() void
Sync(IRunnable) void
SyncRead(long, byte[], int) int
Write(long, byte[], int) void