Uses of Class
com.db4o.ext.Db4oIOException
-
-
Uses of Db4oIOException in com.db4o
Methods in com.db4o that throw Db4oIOException Modifier and Type Method Description void
ObjectContainer. activate(java.lang.Object obj, int depth)
Activates all members on a stored object to the specified depth.void
EmbeddedObjectContainer. backup(java.lang.String path)
Backs up a database file of an open ObjectContainer.boolean
ObjectContainer. close()
Closes the ObjectContainer.void
ObjectContainer. commit()
Commits the running transaction.void
ObjectContainer. delete(java.lang.Object obj)
Deletes a stored object permanently from the database.static ObjectContainer
Db4o. openClient(Configuration config, java.lang.String hostName, int port, java.lang.String user, java.lang.String password)
Deprecated.See theDb4oClientServer
class in db4o client server library for methods to open db4o servers and db4o clients.static ObjectContainer
Db4o. openClient(java.lang.String hostName, int port, java.lang.String user, java.lang.String password)
Deprecated.See theDb4oClientServer
class in db4o client server library for methods to open db4o servers and db4o clients.static ObjectContainer
Db4o. openFile(Configuration config, java.lang.String databaseFileName)
Deprecated.static ObjectContainer
Db4o. openFile(java.lang.String databaseFileName)
Deprecated.static EmbeddedObjectContainer
Db4oEmbedded. openFile(EmbeddedConfiguration config, java.lang.String databaseFileName)
Opens anObjectContainer
on the specified database file for local use.static EmbeddedObjectContainer
Db4oEmbedded. openFile(java.lang.String databaseFileName)
Same (from java) as callingDb4oEmbedded.openFile(EmbeddedConfiguration, String)
with a fresh configuration (Db4oEmbedded.newConfiguration()
).static ObjectServer
Db4o. openServer(Configuration config, java.lang.String databaseFileName, int port)
Deprecated.See the Db4oClientServer class in db4o client server library for methods to open db4o servers and db4o clients.static ObjectServer
Db4o. openServer(java.lang.String databaseFileName, int port)
Deprecated.See theDb4oClientServer
class in db4o client server library for methods to open db4o servers and db4o clients.<TargetType>
ObjectSet<TargetType>ObjectContainer. query(Predicate<TargetType> predicate)
Native Query Interface.
Make sure that you include the db4o-nqopt-java.jar and bloat.jar in your classpath when using native queries.<TargetType>
ObjectSet<TargetType>ObjectContainer. query(Predicate<TargetType> predicate, QueryComparator<TargetType> comparator)
Native Query Interface.<TargetType>
ObjectSet<TargetType>ObjectContainer. query(Predicate<TargetType> predicate, java.util.Comparator<TargetType> comparator)
Native Query Interface.<TargetType>
ObjectSet<TargetType>ObjectContainer. query(java.lang.Class<TargetType> clazz)
Queries for all instances of a class.<T> ObjectSet<T>
ObjectContainer. queryByExample(java.lang.Object template)
Query-By-Example interface to retrieve objects.void
ObjectContainer. rollback()
Rolls back the running transaction. -
Uses of Db4oIOException in com.db4o.config
Methods in com.db4o.config that throw Db4oIOException Modifier and Type Method Description ObjectContainer
LegacyClientServerFactory. openClient(Configuration config, java.lang.String hostName, int port, java.lang.String user, java.lang.String password)
ObjectServer
LegacyClientServerFactory. openServer(Configuration config, java.lang.String databaseFileName, int port)
-
Uses of Db4oIOException in com.db4o.cs.config
Methods in com.db4o.cs.config that throw Db4oIOException Modifier and Type Method Description ObjectContainer
ClientServerFactory. openClient(ClientConfiguration config, java.lang.String hostName, int port, java.lang.String user, java.lang.String password)
ObjectServer
ClientServerFactory. openServer(ServerConfiguration config, java.lang.String databaseFileName, int port)
-
Uses of Db4oIOException in com.db4o.cs.internal
Methods in com.db4o.cs.internal that throw Db4oIOException Modifier and Type Method Description void
Socket4Adapter. close()
void
Socket4Adapter. flush()
Socket4Adapter
Socket4Adapter. openParalellSocket()
int
Socket4Adapter. read(byte[] buffer, int bufferOffset, int byteCount)
void
Socket4Adapter. write(byte[] bytes)
void
Socket4Adapter. write(byte[] bytes, int offset, int count)
-
Uses of Db4oIOException in com.db4o.cs.internal.config
Methods in com.db4o.cs.internal.config that throw Db4oIOException Modifier and Type Method Description ObjectContainer
LegacyClientServerFactoryImpl. openClient(Configuration config, java.lang.String hostName, int port, java.lang.String user, java.lang.String password)
ObjectContainer
StandardClientServerFactory. openClient(ClientConfiguration clientConfig, java.lang.String hostName, int port, java.lang.String user, java.lang.String password)
ObjectServer
LegacyClientServerFactoryImpl. openServer(Configuration config, java.lang.String databaseFileName, int port)
ObjectServer
StandardClientServerFactory. openServer(ServerConfiguration config, java.lang.String databaseFileName, int port)
-
Uses of Db4oIOException in com.db4o.cs.internal.messages
Methods in com.db4o.cs.internal.messages that throw Db4oIOException Modifier and Type Method Description static Msg
Msg. readMessage(MessageDispatcher messageDispatcher, Transaction trans, Socket4Adapter socket)
protected static StatefulBuffer
Msg. readMessageBuffer(Transaction trans, Socket4Adapter socket)
protected static StatefulBuffer
Msg. readMessageBuffer(Transaction trans, Socket4Adapter socket, int length)
-
Uses of Db4oIOException in com.db4o.ext
Subclasses of Db4oIOException in com.db4o.ext Modifier and Type Class Description class
EmergencyShutdownReadOnlyException
A previous IO exception has switched the database file to read-only mode for controlled shutdown.Methods in com.db4o.ext that throw Db4oIOException Modifier and Type Method Description void
ExtObjectContainer. activate(java.lang.Object obj)
activates an object with the current activation strategy.void
ExtObjectContainer. backup(Storage targetStorage, java.lang.String path)
backs up a database file of an open ObjectContainer.void
ExtObjectContainer. backup(java.lang.String path)
backs up a database file of an open ObjectContainer.void
ExtObjectContainer. backupSync(Storage targetStorage, java.lang.String path)
backs up a database file of an open ObjectContainer.void
ExtObjectContainer. backupSync(java.lang.String path)
backs up a database file of an open ObjectContainer.<T> T
ExtObjectContainer. getByUUID(Db4oUUID uuid)
returns a stored object for aDb4oUUID
. -
Uses of Db4oIOException in com.db4o.internal
Methods in com.db4o.internal that throw Db4oIOException Modifier and Type Method Description void
ObjectContainerSession. activate(java.lang.Object obj)
void
ObjectContainerSession. activate(java.lang.Object obj, int depth)
abstract void
ExternalObjectContainer. backup(Storage targetStorage, java.lang.String path)
void
IoAdaptedObjectContainer. backup(Storage targetStorage, java.lang.String path)
void
ObjectContainerBase. backup(java.lang.String path)
void
ObjectContainerSession. backup(Storage storage, java.lang.String path)
void
ObjectContainerSession. backup(java.lang.String path)
abstract void
ExternalObjectContainer. backupSync(Storage targetStorage, java.lang.String path)
void
IoAdaptedObjectContainer. backupSync(Storage targetStorage, java.lang.String path)
void
ObjectContainerBase. backupSync(java.lang.String path)
void
ObjectContainerSession. backupSync(Storage storage, java.lang.String path)
void
ObjectContainerSession. backupSync(java.lang.String path)
boolean
ObjectContainerSession. close()
void
ObjectContainerSession. commit()
ByteArrayBuffer
ObjectContainerBase. decryptedBufferByAddress(int address, int length)
void
ClassMetadata. delete(DeleteContext context)
void
ObjectContainerSession. delete(java.lang.Object obj)
void
OpenTypeHandler. delete(DeleteContext context)
void
PrimitiveTypeMetadata. delete(DeleteContext context)
java.lang.Object
ObjectContainerSession. getByUUID(Db4oUUID uuid)
protected abstract void
ObjectContainerBase. openImpl()
ObjectSet
ObjectContainerSession. query(Predicate predicate)
<T> ObjectSet<T>
ObjectContainerSession. query(Predicate<T> predicate, QueryComparator<T> comparator)
ObjectSet
ObjectContainerSession. query(Predicate predicate, java.util.Comparator comparator)
ObjectSet
ObjectContainerSession. query(java.lang.Class clazz)
ObjectSet
ObjectContainerSession. queryByExample(java.lang.Object template)
void
StatefulBuffer. read()
void
IoAdaptedObjectContainer. readBytes(byte[] bytes, int address, int length)
void
IoAdaptedObjectContainer. readBytes(byte[] bytes, int address, int addressOffset, int length)
abstract void
ObjectContainerBase. readBytes(byte[] a_bytes, int a_address, int a_length)
abstract void
ObjectContainerBase. readBytes(byte[] bytes, int address, int addressOffset, int length)
ByteArrayBuffer
ByteArrayBuffer. readEmbeddedObject(Transaction trans)
void
ByteArrayBuffer. readEncrypt(ObjectContainerBase stream, int address)
java.lang.Object
FieldMetadata. readIndexEntry(ObjectIdContext context)
java.lang.Object
IndexableTypeHandler. readIndexEntry(ObjectIdContext context)
java.lang.Object
IndexableTypeHandler. readIndexEntryFromObjectSlot(MarshallerFamily mf, StatefulBuffer writer)
StatefulBuffer
ObjectContainerBase. readWriterByAddress(Transaction a_trans, int address, int length)
void
ObjectContainerSession. rollback()
-
Uses of Db4oIOException in com.db4o.internal.collections
Methods in com.db4o.internal.collections that throw Db4oIOException Modifier and Type Method Description void
BigSetTypeHandler. delete(DeleteContext context)
-
Uses of Db4oIOException in com.db4o.internal.fileheader
Methods in com.db4o.internal.fileheader that throw Db4oIOException Modifier and Type Method Description abstract void
TimerFileLock. checkIfOtherSessionAlive(LocalObjectContainer container, int address, int offset, long lastAccessTime)
void
TimerFileLockDisabled. checkIfOtherSessionAlive(LocalObjectContainer container, int address, int offset, long lastAccessTime)
void
TimerFileLockEnabled. checkIfOtherSessionAlive(LocalObjectContainer container, int address, int offset, long lastAccessTime)
abstract void
FileHeader. close()
void
NewFileHeaderBase. close()
abstract void
TimerFileLock. close()
void
TimerFileLockEnabled. close()
abstract void
FileHeader. initNew(LocalObjectContainer file)
void
NewFileHeaderBase. initNew(LocalObjectContainer file)
abstract void
TimerFileLock. start()
void
TimerFileLockEnabled. start()
-
Uses of Db4oIOException in com.db4o.internal.handlers
Methods in com.db4o.internal.handlers that throw Db4oIOException Modifier and Type Method Description void
StandardReferenceTypeHandler. collectIDs(QueryingReadContext context)
void
NullFieldAwareTypeHandler. delete(DeleteContext context)
void
PlainObjectHandler. delete(DeleteContext context)
void
StandardReferenceTypeHandler. delete(DeleteContext context)
void
StringBasedValueTypeHandlerBase. delete(DeleteContext context)
java.lang.Object
PrimitiveHandler. readIndexEntry(ObjectIdContext context)
java.lang.Object
StandardReferenceTypeHandler. readIndexEntry(ObjectIdContext context)
java.lang.Object
StringHandler. readIndexEntry(ObjectIdContext context)
java.lang.Object
StringHandler0. readIndexEntry(ObjectIdContext context)
java.lang.Object
StringHandler. readIndexEntryFromObjectSlot(MarshallerFamily mf, StatefulBuffer buffer)
This readIndexEntry method reads from the parent slot.java.lang.Object
StringHandler0. readIndexEntryFromObjectSlot(MarshallerFamily mf, StatefulBuffer buffer)
-
Uses of Db4oIOException in com.db4o.internal.handlers.array
Methods in com.db4o.internal.handlers.array that throw Db4oIOException Modifier and Type Method Description void
ArrayHandler. delete(DeleteContext context)
void
ArrayHandler0. delete(DeleteContext context)
-
Uses of Db4oIOException in com.db4o.io
Methods in com.db4o.io that throw Db4oIOException Modifier and Type Method Description void
BlockAwareBin. blockCopy(int oldAddress, int oldAddressOffset, int newAddress, int newAddressOffset, int length)
copies a block within a file in block modeint
BlockAwareBin. blockRead(int address, byte[] buffer)
reads a buffer at the seeked addressint
BlockAwareBin. blockRead(int address, byte[] bytes, int length)
implement to read a buffer at the seeked addressint
BlockAwareBin. blockRead(int address, int offset, byte[] buffer)
reads a buffer at the seeked addressint
BlockAwareBin. blockRead(int address, int offset, byte[] bytes, int length)
implement to read a buffer at the seeked addressvoid
BlockAwareBin. blockWrite(int address, byte[] buffer)
reads a buffer at the seeked addressvoid
BlockAwareBin. blockWrite(int address, byte[] bytes, int length)
implement to read a buffer at the seeked addressvoid
BlockAwareBin. blockWrite(int address, int offset, byte[] buffer)
reads a buffer at the seeked addressvoid
BlockAwareBin. blockWrite(int address, int offset, byte[] bytes, int length)
implement to read a buffer at the seeked addressvoid
FileStorage.FileBin. close()
void
BlockAwareBin. copy(long oldAddress, long newAddress, int length)
copies a block within a file in absolute modelong
FileStorage.FileBin. length()
Bin
CachingStorage. open(BinConfiguration config)
opens a Bin for the given URI.Bin
FileStorage. open(BinConfiguration config)
opens aBin
on the specified URI (file system path).Bin
MemoryStorage. open(BinConfiguration config)
opens a MemoryBin for the given URI (name can be freely chosen).Bin
PagingMemoryStorage. open(BinConfiguration config)
opens a MemoryBin for the given URI (name can be freely chosen).Bin
Storage. open(BinConfiguration config)
opens aBin
to store db4o database data.Bin
StorageDecorator. open(BinConfiguration config)
int
BlockAwareBin. read(long pos, byte[] buffer)
reads a buffer at the seeked addressint
FileStorage.FileBin. read(long pos, byte[] bytes, int length)
int
MemoryBin. read(long pos, byte[] bytes, int length)
int
PagingMemoryBin. read(long pos, byte[] buffer, int length)
void
FileStorage.FileBin. sync()
void
MemoryBin. sync()
void
PagingMemoryBin. sync()
void
BlockAwareBin. write(long pos, byte[] bytes)
writes a buffer to the seeked addressvoid
FileStorage.FileBin. write(long pos, byte[] buffer, int length)
void
MemoryBin. write(long pos, byte[] buffer, int length)
for internal processing only.void
PagingMemoryBin. write(long pos, byte[] buffer, int length)
Constructors in com.db4o.io that throw Db4oIOException Constructor Description FileBin(BinConfiguration config)
-
Uses of Db4oIOException in com.db4o.typehandlers
Methods in com.db4o.typehandlers that throw Db4oIOException Modifier and Type Method Description void
CollectionTypeHandler. delete(DeleteContext context)
void
HashtableTypeHandler. delete(DeleteContext context)
void
IgnoreFieldsTypeHandler. delete(DeleteContext context)
void
MapTypeHandler. delete(DeleteContext context)
void
TypeHandler4. delete(DeleteContext context)
gets called when an object gets deleted.void
VectorTypeHandler. delete(DeleteContext context)
-
Uses of Db4oIOException in com.db4o.typehandlers.internal
Methods in com.db4o.typehandlers.internal that throw Db4oIOException Modifier and Type Method Description void
TreeSetTypeHandler. delete(DeleteContext context)
void
UnmodifiableListTypeHandler. delete(DeleteContext context)
-