DbEnv::get_ext_file_threshold()

#include <db_cxx.h>
 
int
DbEnv::get_ext_file_threshold(u_int32_t *bytes);  

The DbEnv::get_ext_file_threshold() method returns the threshold value, in bytes, beyond which data items are stored as external files. This value can be set using DbEnv::set_ext_file_threshold() . A value of 0 indicates that external files are not in use by default in this environment, unless Db::set_ext_file_threshold() is called to set an external file threshold for a specific database.

The DbEnv::get_ext_file_threshold() method always returns 0 to indicate success.

Parameters

bytes

References memory into which is copied the external file threshold value.

Class

DbEnv

See Also

External Files and Related Methods