Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB version 4.4.20
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package com.sleepycat.db

Berkeley DB Java API
[reference guide] [Java programming notes].

See:
Description

Interface Summary
BtreePrefixCalculator | An interface specifying how Btree prefixes should be calculated.
ErrorHandler | An interface specifying a callback function to be called when an error occurs in the Berkeley DB library.
FeedbackHandler | An interface specifying a function to be called to provide feedback.
Hasher | An application-specified, database hash function.
LogRecordHandler | A function to process application-specific log records.
MessageHandler | An interface specifying a callback function to be called to display informational messages.
PanicHandler | An interface specifying a function to be called if the database environment panics.
RecordNumberAppender | An interface specifying a callback function that modifies stored data based on a generated key.
ReplicationTransport | An interface specifying a replication transmit function, which sends information to other members of the replication group.
SecondaryKeyCreator | An interface specifying how secondary keys for a `SecondaryDatabase` are created.

Class Summary
BtreeStats | The BtreeStats object is used to return Btree or Recno database statistics.
CacheFile | This class allows applications to modify settings for a `Database` using the `Database.getCacheFile`.
CacheFilePriority | Priorities that can be assigned to files in the cache.
CacheFileStats | Statistics for a file in the cache.
CacheStats | Cache statistics for a database environment.
CheckpointConfig | Specifies the attributes of an application invoked checkpoint operation.
CompactConfig | Configuration for `Database.compact(com.sleepycat.db.Transaction, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.CompactConfig)` operations.
CompactStats | Statistics returned by a `Database.compact(com.sleepycat.db.Transaction, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.CompactConfig)` operation.
Cursor | A database cursor.
CursorConfig | Specify the attributes of database cursor.
Database | A database handle.
DatabaseConfig | Specify the attributes of a database.
DatabaseEntry | Encodes database key and data items as a byte array.
DatabaseStats | Statistics for a single database.
DatabaseType | Database types.
Environment | A database environment.
EnvironmentConfig | Specifies the attributes of an environment.
HashStats | The HashStats object is used to return Hash database statistics.
JoinConfig | The configuration properties of a `JoinCursor`.
JoinCursor | A specialized join cursor for use in performing equality or natural joins on secondary indices.
KeyRange | An object that returns status from the `Database.getKeyRange` method.
Lock | The locking interfaces for the database environment are methods of the `Environment` handle.
LockDetectMode | Deadlock detection modes.
LockMode | Locking modes for database operations.
LockOperation | Operations that can be performed on locks.
LockRequest | The LockRequest object is used to encapsulate a single lock request.
LockRequestMode | When using the default lock conflict matrix, the LockRequestMode class defines the set of possible lock modes.
LockStats | Lock statistics for a database environment.
LogCursor | The LogCursor object is the handle for a cursor into the log files, supporting sequential access to the records stored in log files.
LogSequenceNumber | The LogSequenceNumber object is a log sequence number which specifies a unique location in a log file.
LogStats | Log statistics for a database environment.
MultipleDataEntry | A DatabaseEntry that holds multiple data items returned by a single `Database` or `Cursor` get call.
MultipleEntry | An abstract class representing a DatabaseEntry that holds multiple results returned by a single `Cursor` get method.
MultipleKeyDataEntry | A DatabaseEntry that holds multiple key/data pairs returned by a single `Database` or `Cursor` get call.
MultipleRecnoDataEntry | A DatabaseEntry that holds multiple record number/data pairs returned by a single `Database` or `Cursor` get call.
MutexStats | Statistics about mutexes in a Berkeley DB database environment, returned by `Environment.getMutexStats(com.sleepycat.db.StatsConfig)`
OperationStatus | Status values from database operations.
PreparedTransaction | The PreparedTransaction object is used to encapsulate a single prepared, but not yet resolved, transaction.
QueueStats | The QueueStats object is used to return Queue database statistics.
RecoveryOperation | The recovery operation being performed when `LogRecordHandler.handleLogRecord` is called.
ReplicationConfig | Settings that configure Berkeley DB replication.
ReplicationStats | Replication statistics for a database environment.
ReplicationStatus | The return status from processing a replication message.
SecondaryConfig | The configuration properties of a `SecondaryDatabase` extend those of a primary `Database`.
SecondaryCursor | A database cursor for a secondary database.
SecondaryDatabase | A secondary database handle.
Sequence | A Sequence handle is used to manipulate a sequence record in a database.
SequenceConfig | Specify the attributes of a sequence.
SequenceStats | A SequenceStats object is used to return sequence statistics.
StatsConfig | Specifies the attributes of a statistics retrieval operation.
Transaction | The Transaction object is the handle for a transaction.
TransactionConfig | Specifies the attributes of a database environment transaction.
TransactionStats | Transaction statistics for a database environment.
VerifyConfig | Specifies the attributes of a verification operation.

Exception Summary
DatabaseException | The root of all database exceptions.
DeadlockException | DeadlockException is thrown to a thread of control when multiple threads competing for a lock are deadlocked, when a lock request has timed out or when a lock request would need to block and the transaction has been configured to not wait for locks.
LockNotGrantedException | A LockNotGrantedException is thrown when a lock requested using the `Environment.getLock` or `Environment.lockVector` methods, where the noWait flag or lock timers were configured, could not be granted before the wait-time expired.
MemoryException | This exception is thrown when a `DatabaseEntry` passed to a `Database` or `Cursor` method is not large enough to hold a value being returned.
ReplicationDuplicateMasterException | The replication group has more than one master.
ReplicationHandleDeadException | Thrown when a database handle has been invalidated because a replication election unrolled a committed transaction.
ReplicationHoldElectionException | An election is needed.
ReplicationJoinFailureException | Thrown if a new master has been chosen but the client is unable to synchronize with the new master (possibly because the client has been configured with the `ReplicationConfig.NOAUTOINIT` setting to turn-off automatic internal initialization).
ReplicationLockoutException | Thrown when an operation was blocked by client/master synchronization.
ReplicationSiteUnavailableException | Thrown if replication group was unable to elect a master, or was unable to complete the election in the specified timeout period.
RunRecoveryException | Thrown when the database environment needs to be recovered.
VersionMismatchException | Thrown if the version of the Berkeley DB library doesn't match the version that created the database environment.

## Package com.sleepycat.db Description

Berkeley DB Java API
[reference guide] [Java programming notes].

This package is a wrapper around the Berkeley DB library. It uses JNI to provide access to Berkeley DB, which is implemented in C. That means that a shared library or DLL must be available when applications use this package.

There are also several utilities provided with Berkeley DB that make administrative tasks possible from the command line. For more information, see the page Berkeley DB Supporting Utilities.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB version 4.4.20
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Copyright (c) 1996-2005 Sleepycat Software, Inc. - All rights reserved.