| java.lang.Object com.sun.portal.search.db.AutoCommitDb
AutoCommitDb | class AutoCommitDb (Code) | | AutoCommitDb is a BDB db wrapper that creates auto transactions when
called with no existing transaction. This ensures db safety in
a multi-threaded environment since BDB can not recover from
deadlocks correctly without transactions.
|
Method Summary | |
boolean | check(Dbt key, RDMTransaction tid) | public void | close() | void | delete(Dbt key, int flags, RDMTransaction t) | int | fetch(Dbt key, Dbt data, int flags, RDMTransaction t) | public void | open(String location, int flags, int mode, DbEnv env) | void | store(Dbt key, Dbt data, int flags, RDMTransaction t) |
AutoCommitDb_DBT_METHOD | final static int AutoCommitDb_DBT_METHOD(Code) | | |
AutoCommitDb_DB_TYPE | final static int AutoCommitDb_DB_TYPE(Code) | | |
|
|