DbEnv::rep_get_request()

#include <db_cxx.h>

int
DbEnv::rep_get_request(u_int32_t *minp, u_int32_t *maxp);

The DbEnv::rep_get_request() method returns the minimum and maximum number of microseconds a client waits before requesting retransmission. These values can be configured using the DbEnv::rep_set_request() method.

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

The DbEnv::rep_get_request() 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

minp

The minp parameter references memory into which the minimum number of microseconds a client will wait before requesting retransmission is copied.

maxp

The maxp parameter references memory into which the maximum number of microseconds a client will wait before requesting retransmission is copied.

Class

DbEnv

See Also

Replication and Related Methods, DbEnv::rep_set_request()