Side of Software
Persistence Library 2.0

Package sos.db

Provides transparent persistence to an in-memory or file-based object-oriented database.

See:
          Description

Interface Summary
Database A database of objects.
Progress A mechanism to allow an operation to report its progress and to check if it should be aborted.
TransactionPolicy A policy that determines the behavior of database transactions.
TransactionSupport An auxiliary class that allows a TransactionPolicy to register commit and abort actions and to signal that an object's state has changed.
Unique A marker interface that indicates that a class does not implement a custom equals or hashCode.
 

Class Summary
AbstractDatabase A partial implementation of a database.
AbstractSerializationDatabase A partial implementation of a serialization-based database.
AbstractTransactionPolicy A partial implementation of TransactionPolicy.
DefaultReadWriteTransactionPolicy A transaction policy that uses strict two phase locking (2PL) to ensure that transactions appear to execute sequentially and that uses lock timeouts to break potential deadlock.
DefaultTransactionPolicy A transaction policy that uses a single database lock to ensure that transactions appear to execute sequentially.
FileDatabase A persistent database that stores objects in a random-access file.
InMemoryDatabase A non-persistent database that stores objects in memory.
LongMap<V> A utility class that maps long keys to Object values.
LongMap.Entry<V> A utility class used by LongMap that captures a mapping between a long key and an Object value.
ReadOnlyManager A class that keeps track of whether or not a method is read-only.
 

Exception Summary
DatabaseCorruptedException A checked exception indicating that a database is corrupted and cannot be repaired.
DatabaseException A parent exception to a variety of database exceptions.
NoTransactionException An unchecked exception indicating that the programmer is performing a transactional operation when no transaction exists.
TransactionAbortedException A run-time exception (intended to be checked) that indicates a transaction has unexpectedly aborted and rolled back.
TransactionConflictException A checked exception indicating that a transaction cannot successfully complete because an operation conflicts with that of another transaction.
 

Package sos.db Description

Provides transparent persistence to an in-memory or file-based object-oriented database. With this package, application developers get:

For more information, see the Database interface and the Persistence Tutorial.


Side of Software
Persistence Library 2.0

Copyright 2004-08 Side of Software (SOS). All rights reserved.