Library Version 12.1.6.2

DbEnv::repmgr_get_incoming_queue_max()
Prev | Chapter 11. Replication Methods | Next

## DbEnv::repmgr_get_incoming_queue_max()

    #include <db_cxx.h>

    int
    DbEnv::repmgr_get_incoming_queue_max(u_int32_t *gbytesp,
    u_int32_t *bytesp);

The `DbEnv::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 DbEnv::repmgr_set_incoming_queue_max() method.

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

The `DbEnv::repmgr_get_incoming_queue_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

#### 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

DbEnv

### See Also

Replication and Related Methods, DbEnv::repmgr_set_incoming_queue_max()

Prev | Up | Next
DbEnv::repmgr_get_ack_policy() | Home | DbEnv::repmgr_msg_dispatch()