DB_ENV->repmgr_get_incoming_queue_max()

#include <db.h>

int
DB_ENV->repmgr_get_incoming_queue_max(DB_ENV *env, u_int32_t *gbytesp,
u_int32_t *bytesp); 

The DB_ENV->repmgr_get_incoming_queue_max() method returns the byte-count limit on the amount of dynamic memory used by the Replication Manager incoming queue. This value is configurable using the DB_ENV->repmgr_set_incoming_queue_max() method.

The DB_ENV->repmgr_get_incoming_queue_max() method may be called at any time during the life of the application.

The DB_ENV->repmgr_get_incoming_queue_max() method returns a non-zero error value on failure and 0 on success.

Parameters

gbytesp

The gbytesp parameter references memory into which the gigabytes component of the Replication Manager incoming queue limit is copied.

bytesp

The bytesp parameter references memory into which the bytes component of the Replication Manager incoming queue is copied.

Class

DB_ENV

See Also

Replication and Related Methods, DB_ENV->repmgr_set_incoming_queue_max()