| java.lang.Object com.db4o.internal.PartialObjectContainer
All known Subclasses: com.db4o.internal.ObjectContainerBase,
PartialObjectContainer | abstract public class PartialObjectContainer implements TransientClass,Internal4,ObjectContainerSpec(Code) | | NOTE: This is just a 'partial' base class to allow for variant implementations
in db4oj and db4ojdk1.2. It assumes that itself is an instance of YapStream
and should never be used explicitly.
|
Inner Class :final static class PendingActivation | |
Inner Class :static class PendingSet | |
Method Summary | |
final public void | activate(Transaction trans, Object obj, int depth) | final public void | activateDefaultDepth(Transaction trans, Object obj) | final void | activatePending(Transaction ta) | final public void | beginTopLevelSet() | final public void | bind(Transaction trans, Object obj, long id) | final public ObjectReference | bind2(Transaction trans, ObjectReference oldRef, Object obj) | final public int | blockAlignedBytes(int bytes) | abstract public byte | blockSize() | final public int | blocksToBytes(int blocks) | final public Buffer | bufferByAddress(int address, int length) | final public int | bytesToBlocks(long bytes) | public Callbacks | callbacks() | public void | callbacks(Callbacks cb) | boolean | canUpdate() | final public void | checkClosed() | final protected void | checkReadOnly() | public void | checkStillToSet() | final public Transaction | checkTransaction() | final public Transaction | checkTransaction(Transaction ta) | public ClassMetadataRepository | classCollection() | public ClassMetadata | classMetadataForId(int id) | public ClassMetadata | classMetadataForName(String name) | final public ClassMetadata | classMetadataForReflectClass(ReflectClass claxx) | public int | classMetadataIdForName(String name) | abstract public QueryResult | classOnlyQuery(Transaction trans, ClassMetadata clazz) | final public boolean | close() | abstract protected void | close2() | public Db4oCollections | collections(Transaction trans) | final public void | commit(Transaction trans) | abstract public void | commit1(Transaction trans) | final public void | completeTopLevelSet() | final public void | completeTopLevelSet(Db4oException e) | public Config4Impl | config() | public Config4Impl | configImpl() | public Configuration | configure() | public ObjectContainerBase | container() | abstract public int | converterVersion() | public boolean | createClassMetadata(ClassMetadata classMeta, ReflectClass clazz, ClassMetadata superClassMeta) | final public TransactionalReferenceSystem | createReferenceSystem() | protected void | createStringIO(byte encoding) | abstract public long | currentVersion() | public Db4oType | db4oTypeStored(Transaction trans, Object obj) allows special handling for all Db4oType objects.
Redirected here from #set() so only instanceof check is necessary
in the #set() method. | final public void | deactivate(Transaction trans, Object obj, int depth) | final public void | delete(Transaction trans, Object obj) | final public void | delete1(Transaction trans, Object obj, boolean userCall) | final public void | delete2(Transaction trans, ObjectReference ref, Object obj, int cascade, boolean userCall) | final void | delete3(Transaction trans, ObjectReference ref, int cascade, boolean userCall) | abstract public boolean | delete4(Transaction ta, ObjectReference yapObject, int a_cascade, boolean userCall) | Object | descend(Transaction trans, Object obj, String[] path) | public boolean | detectSchemaChanges() | public boolean | dispatchsEvents() | protected boolean | doFinalize() | final public void | endTopLevelSet(Transaction trans) | abstract public QueryResult | executeQuery(QQuery query) | void | fatalException(int msgID) | final void | fatalException(Throwable t) | final void | fatalException(Throwable t, int msgID) | protected void | finalize() | public void | flagAsHandled(ObjectReference ref) | boolean | flagForDelete(ObjectReference ref) | void | gc() | public long | generateTimeStampId() | final public ObjectSet | get(Transaction trans, Object template) | final public Object | getActivatedObjectFromCache(Transaction ta, int id) | final ClassMetadata | getActiveClassMetadata(ReflectClass claxx) Differentiating getActiveYapClass from getYapClass is a tuning
optimization: If we initialize a YapClass, #set3() has to check for
the possibility that class initialization associates the currently
stored object with a previously stored static object, causing the
object to be known afterwards. | abstract public AbstractQueryResult | getAll(Transaction ta) | final public Object | getByID(Transaction ta, long id) | final public Object | getByID2(Transaction ta, int id) | final public Object | getByUUID(Transaction trans, Db4oUUID uuid) | public ClassInfoHelper | getClassMetaHelper() | final public HardObjectReference | getHardObjectReferenceById(Transaction trans, int id) | final public int | getID(Transaction trans, Object obj) | abstract public long[] | getIDsForClass(Transaction trans, ClassMetadata clazz) | final public NativeQueryHandler | getNativeQueryHandler() | final public ObjectInfo | getObjectInfo(Transaction trans, Object obj) | final public StatefulBuffer | getWriter(Transaction a_trans, int a_address, int a_length) | protected void | handleExceptionOnClose(Exception exc) | final public boolean | handledInCurrentTopLevelCall(ObjectReference ref) | public TypeHandler4 | handlerByID(int id) | public HandlerRegistry | handlers() | protected boolean | hasShutDownHook() | protected void | initialize1(Configuration config) | void | initialize2() | void | initialize2NObjectCarrier() | void | initializeEssentialClasses() | protected void | initializePostOpenExcludingTransportObjectContainer() | final protected void | initializeTransactions() | final void | instantiating(boolean flag) | final boolean | isActive(Transaction trans, Object obj) | public boolean | isCached(Transaction trans, long id) | public boolean | isClient() overridden in YapClient
This method will make it easier to refactor than
an "instanceof YapClient" check. | final public boolean | isClosed() | final boolean | isInstantiating() | boolean | isServer() | final public boolean | isStored(Transaction trans, Object obj) | public ReflectClass[] | knownClasses() | public Object | lock() | final public void | logMsg(int code, String msg) | public boolean | maintainsIndices() | void | message(String msg) | public void | migrateFrom(ObjectContainer objectContainer) | public boolean | needsLockFileThread() | final public void | needsUpdate(ClassMetadata a_yapClass) | abstract public AbstractQueryResult | newQueryResult(Transaction trans, QueryEvaluationMode mode) | abstract public Transaction | newTransaction(Transaction parentTransaction, TransactionalReferenceSystem referenceSystem) | abstract public int | newUserObject() | public Transaction | newUserTransaction() | void | notStorable(ReflectClass claxx, Object obj) | final public int | oldReplicationHandles(Transaction trans, Object obj) | abstract public void | onCommittedListener() | final public void | open() | abstract protected void | openImpl() | final public Object | peekPersisted(Transaction trans, Object obj, int depth, boolean committed) | final public Object | peekPersisted(Transaction trans, int id, int depth, boolean resetJustPeeked) | void | peeked(int id, Object obj) | final void | processPendingClassUpdates() | public ClassMetadata | produceClassMetadata(ReflectClass claxx) | public void | purge() | final public void | purge(Transaction trans, Object obj) | final public ObjectSet | query(Transaction trans, Predicate predicate) | final public ObjectSet | query(Transaction trans, Predicate predicate, QueryComparator comparator) | final public ObjectSet | query(Transaction trans, Class clazz) | final public Query | query(Transaction ta) | abstract public void | raiseVersion(long a_minimumVersion) | final public Object | readActivatedObjectNotInCache(Transaction ta, int id) | abstract public void | readBytes(byte[] a_bytes, int a_address, int a_length) | abstract public void | readBytes(byte[] bytes, int address, int addressOffset, int length) | abstract public Buffer | readReaderByID(Transaction a_ta, int a_id) | final public StatefulBuffer | readWriterByAddress(Transaction a_trans, int address, int length) | abstract public StatefulBuffer | readWriterByID(Transaction a_ta, int a_id) | abstract public StatefulBuffer[] | readWritersByIDs(Transaction a_ta, int[] ids) | public ReferenceSystemRegistry | referenceSystemRegistry() | public GenericReflector | reflector() | final public void | refresh(Transaction trans, Object obj, int depth) | final void | refreshClasses() | abstract public void | releaseSemaphore(String name) | abstract public void | releaseSemaphores(Transaction ta) | final void | removeFromAllReferenceSystems(Object obj) | void | rename(Config4Impl config) | protected boolean | rename1(Config4Impl config) | public ReplicationProcess | replicationBegin(ObjectContainer peerB, ReplicationConflictHandler conflictHandler) | public void | replicationCallState(int state) | abstract public void | reserve(int byteCount) | final public void | rollback(Transaction trans) | abstract public void | rollback1(Transaction trans) | public void | send(Object obj) | final public void | set(Transaction trans, Object obj) | final public void | set(Transaction trans, Object obj, int depth) | final public int | set3(Transaction trans, Object obj, int updateDepth, boolean checkJustSet) | final public int | setAfterReplication(Transaction trans, Object obj, int depth, boolean checkJust) | final public void | setByNewReplication(Db4oReplicationReferenceProvider referenceProvider, Object obj) | abstract public void | setDirtyInSystemTransaction(PersistentBase a_object) | final public int | setInternal(Transaction trans, Object obj, boolean checkJustSet) | final public int | setInternal(Transaction trans, Object obj, int depth, boolean checkJustSet) | abstract public boolean | setSemaphore(String name, int timeout) | final boolean | showInternalClasses() | public synchronized void | showInternalClasses(boolean show) Objects implementing the "Internal4" marker interface are
not visible to queries, unless this flag is set to true. | abstract public void | shutdown() | abstract protected void | shutdownDataStorage() | final void | shutdownHook() | final public void | shutdownObjectContainer() | public int | stackDepth() | public void | stackDepth(int depth) | boolean | stateMessages() | final List4 | stillTo1(Transaction trans, List4 still, Object obj, int depth, boolean forceUnknownDeactivate) returns true in case an unknown single object is passed
This allows deactivating objects before queries are called. | final public void | stillToActivate(Transaction trans, Object a_object, int a_depth) | final public void | stillToDeactivate(Transaction trans, Object a_object, int a_depth, boolean a_forceUnknownDeactivate) | void | stillToSet(Transaction transaction, ObjectReference ref, int updateDepth) | final protected void | stopSession() | final public StoredClass | storedClass(Transaction trans, Object clazz) | public StoredClass[] | storedClasses(Transaction trans) | void | stringIO(LatinStringIO io) | public LatinStringIO | stringIO() | abstract public SystemInfo | systemInfo() | final public Transaction | systemTransaction() | public int | topLevelCallId() | public void | topLevelCallId(int id) | final public Transaction | transaction() | public UUIDFieldMetadata | uUIDIndex() | public long | version() | public VersionFieldMetadata | versionIndex() | abstract public void | writeDirty() | abstract public void | writeNew(Transaction trans, Pointer4 pointer, ClassMetadata classMetadata, Buffer buffer) | abstract public void | writeTransactionPointer(int address) | abstract public void | writeUpdate(Transaction trans, Pointer4 pointer, ClassMetadata classMetadata, Buffer buffer) |
_refreshInsteadOfActivate | boolean _refreshInsteadOfActivate(Code) | | |
_replicationCallState | int _replicationCallState(Code) | | |
_showInternalClasses | int _showInternalClasses(Code) | | |
beginTopLevelSet | final public void beginTopLevelSet()(Code) | | |
blockAlignedBytes | final public int blockAlignedBytes(int bytes)(Code) | | |
blockSize | abstract public byte blockSize()(Code) | | |
blocksToBytes | final public int blocksToBytes(int blocks)(Code) | | |
bytesToBlocks | final public int bytesToBlocks(long bytes)(Code) | | |
canUpdate | boolean canUpdate()(Code) | | |
checkStillToSet | public void checkStillToSet()(Code) | | |
classMetadataIdForName | public int classMetadataIdForName(String name)(Code) | | |
close | final public boolean close()(Code) | | |
close2 | abstract protected void close2()(Code) | | |
completeTopLevelSet | final public void completeTopLevelSet()(Code) | | |
converterVersion | abstract public int converterVersion()(Code) | | |
createStringIO | protected void createStringIO(byte encoding)(Code) | | |
currentVersion | abstract public long currentVersion()(Code) | | |
db4oTypeStored | public Db4oType db4oTypeStored(Transaction trans, Object obj)(Code) | | allows special handling for all Db4oType objects.
Redirected here from #set() so only instanceof check is necessary
in the #set() method.
object if handled here and #set() should not continue processing |
detectSchemaChanges | public boolean detectSchemaChanges()(Code) | | |
dispatchsEvents | public boolean dispatchsEvents()(Code) | | |
doFinalize | protected boolean doFinalize()(Code) | | |
fatalException | void fatalException(int msgID)(Code) | | |
finalize | protected void finalize()(Code) | | |
generateTimeStampId | public long generateTimeStampId()(Code) | | |
getActiveClassMetadata | final ClassMetadata getActiveClassMetadata(ReflectClass claxx)(Code) | | Differentiating getActiveYapClass from getYapClass is a tuning
optimization: If we initialize a YapClass, #set3() has to check for
the possibility that class initialization associates the currently
stored object with a previously stored static object, causing the
object to be known afterwards.
In this call we only return active YapClasses, initialization
is not done on purpose
|
handleExceptionOnClose | protected void handleExceptionOnClose(Exception exc)(Code) | | |
hasShutDownHook | protected boolean hasShutDownHook()(Code) | | |
initialize2 | void initialize2()(Code) | | before file is open
|
initialize2NObjectCarrier | void initialize2NObjectCarrier()(Code) | | overridden in YapObjectCarrier
|
initializeEssentialClasses | void initializeEssentialClasses()(Code) | | |
initializePostOpenExcludingTransportObjectContainer | protected void initializePostOpenExcludingTransportObjectContainer()(Code) | | |
initializeTransactions | final protected void initializeTransactions()(Code) | | |
instantiating | final void instantiating(boolean flag)(Code) | | |
isClient | public boolean isClient()(Code) | | overridden in YapClient
This method will make it easier to refactor than
an "instanceof YapClient" check.
|
isClosed | final public boolean isClosed()(Code) | | |
isInstantiating | final boolean isInstantiating()(Code) | | |
isServer | boolean isServer()(Code) | | |
maintainsIndices | public boolean maintainsIndices()(Code) | | |
needsLockFileThread | public boolean needsLockFileThread()(Code) | | |
newUserObject | abstract public int newUserObject()(Code) | | |
onCommittedListener | abstract public void onCommittedListener()(Code) | | |
peekPersisted | final public Object peekPersisted(Transaction trans, int id, int depth, boolean resetJustPeeked)(Code) | | |
processPendingClassUpdates | final void processPendingClassUpdates()(Code) | | |
purge | public void purge()(Code) | | |
raiseVersion | abstract public void raiseVersion(long a_minimumVersion)(Code) | | |
readBytes | abstract public void readBytes(byte[] a_bytes, int a_address, int a_length) throws Db4oIOException(Code) | | |
readBytes | abstract public void readBytes(byte[] bytes, int address, int addressOffset, int length) throws Db4oIOException(Code) | | |
refreshClasses | final void refreshClasses()(Code) | | |
releaseSemaphore | abstract public void releaseSemaphore(String name)(Code) | | |
removeFromAllReferenceSystems | final void removeFromAllReferenceSystems(Object obj)(Code) | | |
replicationCallState | public void replicationCallState(int state)(Code) | | |
reserve | abstract public void reserve(int byteCount)(Code) | | |
setAfterReplication | final public int setAfterReplication(Transaction trans, Object obj, int depth, boolean checkJust)(Code) | | |
setDirtyInSystemTransaction | abstract public void setDirtyInSystemTransaction(PersistentBase a_object)(Code) | | |
setSemaphore | abstract public boolean setSemaphore(String name, int timeout)(Code) | | |
showInternalClasses | final boolean showInternalClasses()(Code) | | |
showInternalClasses | public synchronized void showInternalClasses(boolean show)(Code) | | Objects implementing the "Internal4" marker interface are
not visible to queries, unless this flag is set to true.
The caller should reset the flag after the call.
|
shutdown | abstract public void shutdown()(Code) | | |
shutdownDataStorage | abstract protected void shutdownDataStorage()(Code) | | |
shutdownHook | final void shutdownHook()(Code) | | |
shutdownObjectContainer | final public void shutdownObjectContainer()(Code) | | |
stackDepth | public int stackDepth()(Code) | | |
stackDepth | public void stackDepth(int depth)(Code) | | |
stateMessages | boolean stateMessages()(Code) | | |
stillTo1 | final List4 stillTo1(Transaction trans, List4 still, Object obj, int depth, boolean forceUnknownDeactivate)(Code) | | returns true in case an unknown single object is passed
This allows deactivating objects before queries are called.
|
stillToDeactivate | final public void stillToDeactivate(Transaction trans, Object a_object, int a_depth, boolean a_forceUnknownDeactivate)(Code) | | |
stopSession | final protected void stopSession()(Code) | | |
topLevelCallId | public int topLevelCallId()(Code) | | |
topLevelCallId | public void topLevelCallId(int id)(Code) | | |
version | public long version()(Code) | | |
writeDirty | abstract public void writeDirty()(Code) | | |
writeTransactionPointer | abstract public void writeTransactionPointer(int address)(Code) | | |
|
|