+I$Berkeley DB: DbTxnMgr[P

DbTxnMgr





import com.sleepycat.db.*;







Description



?This manual page describes the specific details of the DbTxnMgrclass.

eThe DbTxnMgr class is used in conjunction with DbTxn toprovide transaction semantics.DFull transaction support is provided by a collection of modules thatGprovide interfaces to the services required for transaction processing.VThese services are recovery (see DbLog),—concurrency control (see DbLock and DbLockTab) and theœmanagement of shared data (see DbMpool and DbMpoolFile).

GTransaction semantics can be applied to the access methods described inMDb through method call parameters.

EThe model intended for transactional use (and the one that is used byjthe access methods) is write-ahead logging provided by DbLog(to record both before- and after-images.CLocking follows a two-phase protocol, with all locks being releasedat transaction commit.

@See the Reference Guide formore information.



Class

DbTxnMgr



See Also

@DbTxnMgr.begin,JDbTxnMgr.checkpoint,@DbTxnMgr.close,>DbTxnMgr.open,=DbTxnMgr.statandBDbTxnMgr.unlink.
ÿÿ