ObjectContainerBase Class

graph BT Type-->Base0["Object"] Type-.->Interface0["ITransientClass"] click Interface0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Types/ITransientClass" Type-.->Interface1["IInternal4"] click Interface1 "/db4o-gpl-doc/output/api/Db4objects.Db4o/IInternal4" Type-.->Interface2["IObjectContainerSpec"] click Interface2 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal/IObjectContainerSpec" Type-.->Interface3["IInternalObjectContainer"] click Interface3 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal/IInternalObjectContainer" Type-.->Interface4["IExtObjectContainer"] click Interface4 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Ext/IExtObjectContainer" Type-.->Interface5["IObjectContainer"] click Interface5 "/db4o-gpl-doc/output/api/Db4objects.Db4o/IObjectContainer" Type-.->Interface6["IDisposable"] Type-.->Interface7["ISodaQueryFactory"] click Interface7 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Query/ISodaQueryFactory" Type["ObjectContainerBase"] class Type type-node Derived0["ExternalObjectContainer"]-->Type click Derived0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal/ExternalObjectContainer"

Syntax

public abstract class ObjectContainerBase : ITransientClass, IInternal4, IObjectContainerSpec, 
    IInternalObjectContainer, IExtObjectContainer, IObjectContainer, IDisposable, ISodaQueryFactory

Constructors

Fields

Properties

Name Value Summary
ConfigImpl Config4Impl
Container ObjectContainerBase
Handlers HandlerRegistry
IsClient bool
overridden in ClientObjectContainer The method allows checking whether will make it easier to refactor than an "instanceof YapClient" check.
Transaction Transaction

Methods

Name Value Summary
Activate(Object, int) void
Activate(Object) void
Activate(Transaction, Object, IActivationDepth) void
Activate(Transaction, Object) void
ActivationContextFor(Transaction, Object, IActivationDepth) ActivationContext4
ActivationDepthProvider() IActivationDepthProvider
ApplyRenames(Config4Impl) bool
Backup(IStorage, string) void
Backup(string) void
Bind(Object, long) void
Bind(Transaction, Object, long) void
Bind2(Transaction, ObjectReference, Object) ObjectReference
BlockConverter() IBlockConverter
BlockSize() byte
BlockSize(int) void
Callbacks() ICallbacks
Callbacks(ICallbacks) void
CheckClosed() void
CheckReadOnly() void
CheckStillToSet() void
CheckTransaction() Transaction
CheckTransaction(Transaction) Transaction
ClassCollection() ClassMetadataRepository
ClassMetadataForID(int) ClassMetadata
ClassMetadataForName(string) ClassMetadata
ClassMetadataForObject(Object) ClassMetadata
ClassMetadataForReflectClass(IReflectClass) ClassMetadata
ClassMetadataIdForName(string) int
ClassOnlyQuery(QQueryBase, ClassMetadata) IQueryResult
Close() bool
Close2() void
CloseIdSystem() void
CloseSystemTransaction() void
CloseTransaction(Transaction, bool, bool) void
CloseUserTransaction() void
Commit() void
Commit(Transaction) void
Commit1(Transaction) void
CommitTimestampIndex() CommitTimestampFieldMetadata
Config() Config4Impl
Configure() IConfiguration
ConverterVersion() int
CreateBlockConverter(int) void
CreateClassMetadata(ClassMetadata, IReflectClass, ClassMetadata) bool
CreateReferenceSystem() IReferenceSystem
CreateStatefulBuffer(Transaction, int, int) StatefulBuffer
CreateStringIO(byte) void
CurrentVersion() long
Db4oTypeStored(Transaction, Object) IDb4oType
allows special handling for all Db4oType objects.
Deactivate(Object, int) void
Deactivate(Object) void
Deactivate(Transaction, Object, int) void
Deactivate(Transaction, Object) void
DecryptedBufferByAddress(int, int) ByteArrayBuffer
DefaultActivationDepth(ClassMetadata) IActivationDepth
DefaultToString() string
Delete(Object) void
Delete(Transaction, Object) void
Delete1(Transaction, Object, bool) void
Delete2(Transaction, ObjectReference, Object, int, bool) void
Delete4(Transaction, ObjectReference, Object, int, bool) bool
DeleteByID(Transaction, int, int) void
Descend(Object, string[]) Object
DetectSchemaChanges() bool
DispatchsEvents() bool
DoFinalize() bool
Environment() IEnvironment
ExecuteQuery(QQuery) IQueryResult
Ext() IExtObjectContainer
FatalShutdown(Exception) void
FatalStorageShutdown() void
FlagAsHandled(ObjectReference) void
GenerateTimeStampId() long
GenerateTransactionTimestamp(long) long
GetActivatedObjectFromCache(Transaction, int) Object
GetByID(long) Object
GetByID(Transaction, long) Object
GetByID2(Transaction, int) Object
GetByUUID(Db4oUUID) Object
GetByUUID(Transaction, Db4oUUID) Object
GetHardObjectReferenceById(Transaction, int) HardObjectReference
GetHardReferenceBySignature(Transaction, long, byte[]) HardObjectReference
GetID(Object) long
GetID(Transaction, Object) int
GetIDsForClass(Transaction, ClassMetadata) long[]
GetNativeQueryHandler() NativeQueryHandler
GetObjectInfo(Object) IObjectInfo
GetObjectInfo(Transaction, Object) IObjectInfo
HandledInCurrentTopLevelCall(ObjectReference) bool
HandleExceptionOnClose(Exception) void
HasShutDownHook() bool
Identity() Db4oDatabase
IdForNewUserObject(Transaction) int
InCallback() bool
InitalizeWeakReferenceSupport() void
Initialize1(IConfiguration) void
InitializeClassMetadataRepository() void
InitializePostOpenExcludingTransportObjectContainer() void
InitializeTransactions() void
InstanceCount(ClassMetadata, Transaction) int
IsActive(Object) bool
IsCached(long) bool
IsCached(Transaction, long) bool
IsClosed() bool
IsDeleted(Transaction, int) bool
IsStored(Object) bool
IsStored(Transaction, Object) bool
KnownClasses() IReflectClass[]
Lock() Object
LogMsg(int, string) void
MaintainsIndices() bool
NeedsLockFileThread() bool
NeedsUpdate(ClassMetadata) void
NewEventRegistry() EventRegistryImpl
NewQueryResult(Transaction, QueryEvaluationMode) AbstractQueryResult
NewSystemTransaction() Transaction
NewTransaction(Transaction, IReferenceSystem, bool) Transaction
NewUserTransaction() Transaction
NewWeakReference(ObjectReference, Object) Object
Open() void
OpenImpl() void
OpenSession() IObjectContainer
PeekPersisted(Object, int, bool) Object
PeekPersisted(Transaction, int, IActivationDepth, bool) Object
PeekPersisted(Transaction, Object, IActivationDepth, bool) Object
PeekReference(Transaction, int, IActivationDepth, bool) ObjectReference
ProduceClassMetadata(IReflectClass) ClassMetadata
Purge() void
Purge(Object) void
Purge(Transaction, Object) void
Query() IQuery
Query(Predicate, IComparer) IObjectSet
Query(Predicate, IQueryComparator) IObjectSet
Query(Predicate) IObjectSet
Query(Transaction, Predicate, IQueryComparator) IObjectSet
Query(Transaction, Predicate) IObjectSet
Query(Transaction, Type) IObjectSet
Query(Transaction) IQuery
Query(Type) IObjectSet
Query<ElementType>(Transaction, Type, IComparer<ElementType>) IList<ElementType>
Query<ElementType>(Transaction, Type) IList<ElementType>
Query<ElementType>(Type, IComparer<ElementType>) IList<ElementType>
Query<ElementType>(Type) IList<ElementType>
Query<Extent>() IList<Extent>
Query<Extent>(IComparer<Extent>) IList<Extent>
Query<Extent>(Predicate<Extent>, Comparison<Extent>) IList<Extent>
Query<Extent>(Predicate<Extent>, IComparer<Extent>) IList<Extent>
Query<Extent>(Predicate<Extent>) IList<Extent>
Query<Extent>(Transaction, Predicate<Extent>, Comparison<Extent>) IList<Extent>
Query<Extent>(Transaction, Predicate<Extent>, IComparer<Extent>) IList<Extent>
Query<Extent>(Transaction, Predicate<Extent>) IList<Extent>
QueryAllObjects(Transaction) AbstractQueryResult
QueryByExample(Object) IObjectSet
QueryByExample(Transaction, Object) IObjectSet
RaiseCommitTimestamp(long) void
RawBufferByAddress(int, int) ByteArrayBuffer
ReadActivatedObjectNotInCache(Transaction, int) Object
ReadBufferById(Transaction, int, bool) ByteArrayBuffer
ReadBufferById(Transaction, int) ByteArrayBuffer
ReadBytes(byte[], int, int, int) void
ReadBytes(byte[], int, int) void
ReadSlotBuffers(Transaction, int[]) ByteArrayBuffer[]
ReadStatefulBufferById(Transaction, int, bool) StatefulBuffer
ReadStatefulBufferById(Transaction, int) StatefulBuffer
ReadWriterByAddress(Transaction, int, int) StatefulBuffer
ReferenceSystemRegistry() ReferenceSystemRegistry
Reflector() GenericReflector
Refresh(Object, int) void
Refresh(Transaction, Object, int) void
RefreshInternal(Transaction, Object, int) void
ReleaseSemaphore(string) void
ReleaseSemaphore(Transaction, string) void
ReleaseSemaphores(Transaction) void
ReplaceClassMetadataRepository(ClassMetadataRepository) void
ReplicationCallState(int) void
Reserve(int) void
Rollback() void
Rollback(Transaction) void
Rollback1(Transaction) void
Send(Object) void
SetDirtyInSystemTransaction(PersistentBase) void
SetSemaphore(string, int) bool
SetSemaphore(Transaction, string, int) bool
ShowInternalClasses(bool) void
Objects implementing the "Internal4" marker interface are not visible to queries, unless this flag is set to true.
Shutdown() void
ShutdownDataStorage() void
ShutdownObjectContainer() void
StackDepth() int
StackDepth(int) void
StillToActivate(IActivationContext) void
StillToDeactivate(Transaction, Object, IActivationDepth, bool) void
StopSession() void
Store(Object, int) void
Store(Object) void
Store(Transaction, Object, IUpdateDepth) int
Store(Transaction, Object) void
Store2(Transaction, Object, IUpdateDepth, bool) int
StoreAfterReplication(Transaction, Object, IUpdateDepth, bool) int
StoreAll(Transaction, IEnumerator, IUpdateDepth) void
StoreAll(Transaction, IEnumerator) void
StoreByNewReplication(IDb4oReplicationReferenceProvider, Object) void
StoredClass(Object) IStoredClass
StoredClass(Transaction, Object) IStoredClass
StoredClasses() IStoredClass[]
StoredClasses(Transaction) IStoredClass[]
StoreInternal(Transaction, Object, bool) int
StoreInternal(Transaction, Object, IUpdateDepth, bool) int
StringIO() LatinStringIO
SyncExec(IClosure4) Object
SyncExec<R>(ObjectContainerBase.SyncExecClosure<R>) R
SystemInfo() ISystemInfo
SystemTransaction() Transaction
ThreadPool() IThreadPool4
TopLevelCallId() int
TopLevelCallId(int) void
ToString() string
TryGetByID(Transaction, long) Object
TypeHandlerForClass(IReflectClass) ITypeHandler4
TypeHandlerForClassMetadataID(int) ITypeHandler4
UpdateDepthProvider() IUpdateDepthProvider
UseDefaultTransactionTimestamp() void
UUIDIndex() UUIDFieldMetadata
Version() long
VersionIndex() VersionFieldMetadata
WithEnvironment(Action4) void
WithEnvironment(IRunnable) void
WithTransaction(Transaction, IRunnable) void
WriteDirtyClassMetadata() void
WriteNew(Transaction, Pointer4, ClassMetadata, ByteArrayBuffer) void
WriteUpdate(Transaction, Pointer4, ClassMetadata, ArrayType, ByteArrayBuffer) void