-I)Berkeley DB: DbEnv.appexit[P

DbEnv.appexit





import com.sleepycat.db.*;

public void appexit() throws DbException;





Description



OThe DbEnv.appexit method closes the initialized Berkeley DB subsystems, freeing>any allocated resources and closing any underlying subsystems.

=In multi-threaded applications, only a single thread may callDbEnv.appexit.

The DbEnv.appexitHmethod throws an exception that encapsulates an errno on failure.



Errors

UIf a fatal error occurs in Berkeley DB, the DbEnv.appexit method may fail and throw a}DbRunRecoveryException, at which point all subsequent database%calls will also fail in the same way.

The DbEnv.appexit&method may fail and throw an exceptionKfor any of the errors specified for the following Berkeley DB and C library functions:free(3),BDbLockTab.close,:DbLog.close,>DbMpool.close, memset(3), strlen(3),and@DbTxnMgr.close.



Class

3DbEnv



See Also

>DbEnv.appinit,DbEnv.appexit,>DbEnv.version,dbenv_get_data_dir,dbenv_get_errcall,dbenv_get_error_model,dbenv_get_error_stream,dbenv_get_errpfx,dbenv_get_flags,dbenv_get_home,FDbEnv.get_lg_info,dbenv_get_lg_max,dbenv_get_lk_conflicts,dbenv_get_lk_detect,FDbEnv.get_lk_info,dbenv_get_lk_modes,dbenv_get_log_dir,dbenv_get_lorder,FDbEnv.get_mp_info,dbenv_get_mp_mmapsize,dbenv_get_mp_size,dbenv_get_tmp_dir,FDbEnv.get_tx_info,dbenv_get_tx_max,dbenv_get_tx_recoveranddbenv_get_verbose.
ÿÿ