DbEnv::get_tx_max()

#include <db_cxx.h>

int
DbEnv::get_tx_max(u_int32_t *tx_maxp);

The DbEnv::get_tx_max() method returns the maximum number of active transactions currently configured for the environment. You can manage this value using the DbEnv::set_tx_max() method.

The DbEnv::get_tx_max() method may be called at any time during the life of the application.

The DbEnv::get_tx_max() method either returns a non-zero error value or throws an exception that encapsulates a non-zero error value on failure, and returns 0 on success.

Parameters

tx_maxp

The DbEnv::get_tx_max() method returns the number of active transactions in tx_maxp.

Class

DbEnv, DbTxn

See Also

Transaction Subsystem and Related Methods, DbEnv::set_tx_max()