public class IoAdaptedObjectContainer extends LocalObjectContainer implements EmbeddedObjectContainer
_fileHeader, _pointerIo_blockConverter, _classCollection, _config, _handlers, _lock, _timeStampIdGenerator, _transaction| Modifier and Type | Method and Description |
|---|---|
void |
backup(Storage targetStorage,
java.lang.String path)
backs up a database file of an open ObjectContainer.
|
byte |
blockSize() |
void |
blockSize(int size) |
void |
closeTransaction(Transaction transaction,
boolean isSystemTransaction,
boolean rollbackOnClose) |
void |
commit1(Transaction trans) |
protected void |
fatalStorageShutdown() |
long |
fileLength() |
java.lang.String |
fileName() |
protected void |
openImpl() |
void |
overwriteDeletedBytes(int address,
int length) |
void |
readBytes(byte[] bytes,
int address,
int length) |
void |
readBytes(byte[] bytes,
int address,
int addressOffset,
int length) |
void |
reserve(int byteCount) |
protected void |
shutdownDataStorage() |
void |
syncFiles() |
void |
syncFiles(java.lang.Runnable runnable) |
BlockAwareBin |
timerFile() |
void |
writeBytes(ByteArrayBuffer buffer,
int blockedAddress,
int addressOffset) |
allocatePointerSlot, allocateSafeSlot, allocateSlot, allocateSlotForNewUserObject, allocateSlotForUserObjectUpdate, appendBytes, blockSizeReadFromFile, classOnlyQuery, close2, closeIdSystem, commitHook, commitTransaction, converterVersion, createBTreeClassIndex, createIdSystem, currentVersion, debugReadPointerSlot, defaultToString, delete4, doFinalize, executeQuery, free, free, freespaceManager, from, generateNewIdentity, getAll, getFileHeader, getIDsForClass, identity, idForNewUserObject, idSystem, installDebugFreespaceManager, instanceCount, isDeleted, isValidPointer, localSystemTransaction, newEventRegistry, newQueryResult, newQueryResult, newTransaction, newTransactionalIdSystem, openSession, overwriteDeletedBlockedSlot, queryAllObjects, raiseCommitTimestamp, readBufferById, readBufferById, readBufferBySlot, readPointerSlot, readSlotBuffers, readStatefulBufferById, readStatefulBufferById, readStatefulBufferBySlot, releaseSemaphore, releaseSemaphore, releaseSemaphores, rollback1, setDirtyInSystemTransaction, setIdentity, setNextTimeStampId, setRegularEndAddress, setSemaphore, setSemaphore, setServer, shutdown, systemData, systemInfo, writeDirtyClassMetadata, writeEncrypt, writeHeader, writeNew, writePointer, writeTransactionPointer, writeUpdateactivate, activate, bind, commit, deactivate, deactivate, delete, descend, ext, getByID, getByUUID, getID, getObjectInfo, isActive, isCached, isStored, peekPersisted, purge, query, query, query, query, queryByExample, refresh, rollback, store, store, storedClass, storedClassesactivate, activate, activationContextFor, activationDepthProvider, applyRenames, asTopLevelCall, backup, bind, bind2, blockConverter, callbacks, callbacks, checkClosed, checkReadOnly, checkStillToSet, checkTransaction, checkTransaction, classCollection, classMetadataForID, classMetadataForName, classMetadataForObject, classMetadataForReflectClass, classMetadataIdForName, close, closeSystemTransaction, closeUserTransaction, commit, commitTimestampIndex, config, configImpl, configure, container, createBlockConverter, createClassMetadata, createReferenceSystem, createStatefulBuffer, createStringIO, db4oTypeStored, deactivate, deactivate, decryptedBufferByAddress, defaultActivationDepth, delete, delete1, delete2, deleteByID, detectSchemaChanges, dispatchsEvents, environment, fatalShutdown, finalize, flagAsHandled, generateTimeStampId, generateTransactionTimestamp, getActivatedObjectFromCache, getByID, getByID2, getByUUID, getHardObjectReferenceById, getHardReferenceBySignature, getID, getNativeQueryHandler, getObjectInfo, handledInCurrentTopLevelCall, handleExceptionOnClose, handlers, hasShutDownHook, initalizeWeakReferenceSupport, initialize1, initializeClassMetadataRepository, initializePostOpenExcludingTransportObjectContainer, initializeTransactions, isCached, isClient, isClosed, isStored, knownClasses, lock, logMsg, maintainsIndices, needsLockFileThread, needsUpdate, newSystemTransaction, newUserTransaction, newWeakReference, open, peekPersisted, peekPersisted, peekReference, produceClassMetadata, purge, purge, query, query, query, query, query, queryByExample, rawBufferByAddress, readActivatedObjectNotInCache, readWriterByAddress, referenceSystemRegistry, reflector, refresh, refreshInternal, replaceClassMetadataRepository, replicationCallState, rollback, send, showInternalClasses, shutdownObjectContainer, stackDepth, stackDepth, stillToActivate, stillToDeactivate, stopSession, store, store, store2, storeAfterReplication, storeAll, storeAll, storeByNewReplication, storedClass, storedClasses, storeInternal, storeInternal, stringIO, syncExec, systemTransaction, threadPool, topLevelCallId, topLevelCallId, toString, transaction, tryGetByID, typeHandlerForClass, typeHandlerForClassMetadataID, updateDepthProvider, useDefaultTransactionTimestamp, uUIDIndex, version, versionIndex, withEnvironment, withTransactionclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitbackupactivate, close, commit, deactivate, delete, ext, query, query, query, query, query, queryByExample, rollback, storecallbacks, callbacks, classMetadataForID, classMetadataForName, classMetadataForReflectClass, configImpl, container, getNativeQueryHandler, handlers, isClient, storeAll, syncExec, transaction, updateDepthProvideractivate, backup, bind, configure, deactivate, descend, getByID, getByUUID, getID, getObjectInfo, isActive, isCached, isClosed, isStored, knownClasses, lock, peekPersisted, purge, purge, reflector, refresh, store, storedClass, storedClasses, versionprotected final void openImpl()
throws OldFormatException,
DatabaseReadOnlyException
openImpl in class ObjectContainerBaseOldFormatExceptionDatabaseReadOnlyExceptionpublic void backup(Storage targetStorage, java.lang.String path) throws DatabaseClosedException, Db4oIOException
ExtObjectContainerbackup in interface ExtObjectContainerbackup in class ExternalObjectContainertargetStorage - the Storage to be used for backuppath - a fully qualified pathDatabaseClosedException - db4o database file was closed or failed to open.Db4oIOException - I/O operation failed or was unexpectedly interrupted.public void blockSize(int size)
blockSize in class ObjectContainerBasepublic byte blockSize()
blockSize in class ObjectContainerBaseprotected void shutdownDataStorage()
shutdownDataStorage in class ObjectContainerBasepublic void closeTransaction(Transaction transaction, boolean isSystemTransaction, boolean rollbackOnClose)
closeTransaction in class ObjectContainerBasepublic void commit1(Transaction trans)
commit1 in class LocalObjectContainerpublic long fileLength()
fileLength in class LocalObjectContainerpublic java.lang.String fileName()
fileName in class LocalObjectContainerpublic void readBytes(byte[] bytes,
int address,
int length)
throws Db4oIOException
readBytes in class ObjectContainerBaseDb4oIOExceptionpublic void readBytes(byte[] bytes,
int address,
int addressOffset,
int length)
throws Db4oIOException
readBytes in class ObjectContainerBaseDb4oIOExceptionpublic void reserve(int byteCount)
throws DatabaseReadOnlyException
reserve in class ObjectContainerBaseDatabaseReadOnlyExceptionpublic void syncFiles()
syncFiles in class LocalObjectContainerpublic void syncFiles(java.lang.Runnable runnable)
syncFiles in class LocalObjectContainerpublic void writeBytes(ByteArrayBuffer buffer, int blockedAddress, int addressOffset)
writeBytes in class LocalObjectContainerpublic void overwriteDeletedBytes(int address,
int length)
overwriteDeletedBytes in class LocalObjectContainerpublic BlockAwareBin timerFile()
protected void fatalStorageShutdown()
fatalStorageShutdown in class ObjectContainerBase