DbMpoolFile::get_maxsize()

#include <db_cxx.h>

int
DbMpoolFile::get_maxsize(u_int32_t *gbytesp, u_int32_t *bytesp);

Returns the maximum size configured for the file, as configured using the DbMpoolFile::set_maxsize() method.

The DbMpoolFile::get_maxsize() 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.

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

Parameters

bytesp

The bytesp parameter references memory into which the additional bytes of memory in the maximum file size is copied.

gbytesp

The gbytesp parameter references memory into which the gigabytes of memory in the maximum file size is copied.

Class

DbEnv, DbMpoolFile

See Also

Memory Pools and Related Methods, DbMpoolFile::set_maxsize()