Java Interface by Class

ClassMethodDescription
DbEnv
Berkeley DB Environment Class

DbEnv.closeClose an environment

DbEnv.openOpen an environment

DbEnv.removeRemove an environment

DbEnv.set_cachesizeSet the environment cache size

DbEnv.set_data_dirSet the environment data directory

DbEnv.set_errcallSet error message callback

DbEnv.set_error_streamSet error message output stream

DbEnv.set_errpfxSet error message prefix

DbEnv.set_feedbackSet feedback callback

DbEnv.set_lg_bsizeSet log buffer size

DbEnv.set_lg_dirSet the environment logging directory

DbEnv.set_lg_maxSet log file size

DbEnv.set_lk_conflictsSet lock conflicts matrix

DbEnv.set_lk_detectSet automatic deadlock detection

DbEnv.set_lk_maxSet maximum number of locks

DbEnv.set_mp_mmapsizeSet maximum mapped-in database file size

DbEnv.set_mutexlocksTurn off mutual exclusion locking

DbEnv.set_pageyieldYield the processor on each page access

DbEnv.set_panicstateReset panic state

DbEnv.set_recovery_initSet recovery initialization callback

DbEnv.set_region_initFault in shared regions on initial access

DbEnv.set_serverEstablish server connection

DbEnv.set_shm_keySet system memory shared segment ID

DbEnv.set_tas_spinsSet the number of test-and-set spins

DbEnv.set_tmp_dirSet the environment temporary file directory

DbEnv.set_tx_maxSet maximum number of transactions

DbEnv.set_tx_timestampSet recovery timestamp

DbEnv.set_verboseSet verbose messages

DbEnv.strerrorError strings

DbEnv.lock_detectPerform deadlock detection

DbEnv.lock_getAcquire a lock

DbEnv.lock_idAcquire a locker ID

DbEnv.lock_statReturn lock subsystem statistics

DbEnv.log_archiveList log and database files

DbEnv.log_compareCompare two Log Sequence Numbers

DbEnv.log_fileMap Log Sequence Numbers to log files

DbEnv.log_flushFlush log records

DbEnv.log_getGet a log record

DbEnv.log_putWrite a log record

DbEnv.log_registerRegister a file name with the log manager

DbEnv.log_statReturn log subsystem statistics

DbEnv.log_unregisterUnregister a file name with the log manager

DbEnv.memp_fstatReturn buffer pool statistics.

DbEnv.memp_statReturn buffer pool statistics

DbEnv.memp_trickleTrickle flush pages from a buffer pool

DbEnv.txn_beginBegin a transaction

DbEnv.txn_checkpointCheckpoint the transaction subsystem

DbEnv.txn_statReturn transaction subsystem statistics

DbEnv.versionReturn version information
Db
Berkeley DB Access Method Class

Db.closeClose a database

Db.cursorOpen a cursor into a database

Db.delDelete items from a database

Db.fdReturn a file descriptor from a database

Db.getGet items from a database

Db.get_byteswappedReturn if the underlying database is in host order

Db.get_typeReturn the database type

Db.joinPerform a database join on cursors

Db.key_rangeReturn estimate of key location

Db.openOpen a database

Db.putStore items into a database

Db.removeRemove a database

Db.renameRename a database

Db.set_bt_minkeySet the minimum number of keys per Btree page

Db.set_cachesizeSet the database cache size

Db.set_errcallSet error message callback

Db.set_errpfxSet error message prefix

Db.set_feedbackSet feedback callback

Db.set_flagsGeneral database configuration

Db.set_h_ffactorSet the Hash table density

Db.set_h_nelemSet the Hash table size

Db.set_lorderSet the database byte order

Db.set_pagesizeSet the underlying database page size

Db.set_re_delimSet the variable-length record delimiter

Db.set_re_lenSet the fixed-length record length

Db.set_re_padSet the fixed-length record pad byte

Db.set_re_sourceSet the backing Recno text file

Db.statReturn database statistics

Db.syncFlush a database to stable storage

Db.upgradeUpgrade a database

Db.verifyVerify/upgrade a database
Dbc
Berkeley DB Cursor Class

Dbc.closeClose a cursor

Dbc.countReturn count of duplicates

Dbc.delDelete by cursor

Dbc.dupDuplicate a cursor

Dbc.getRetrieve by cursor

Dbc.putStore by cursor
Dbt
Key/Data Encoding Class
DbLock
Lock Class

DbLock.putRelease a lock
DbLsn
Log Sequence Number Class
DbTxn
Transaction Class

DbTxn.abortAbort a transaction

DbTxn.commitCommit a transaction

DbTxn.idReturn a transaction ID

DbTxn.preparePrepare a transaction for commit
DbException
Exception Class for Berkeley DB Activity

DbException.get_errnoGet the error value
DbDeadlockException
Exception Class for deadlocks
DbMemoryException
Exception Class for insufficient memory
DbRunRecoveryException
Exception Class for failures requiring recovery

Copyright Sleepycat Software