DB_ENV->rep_get_request()

#include <db.h>

int
DB_ENV->rep_get_request(DB_ENV *env, u_int32_t *minp, u_int32_t *maxp);  

The DB_ENV->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 DB_ENV->rep_set_request() method.

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

The DB_ENV->rep_get_request() method returns a non-zero error value on failure and 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

DB_ENV

See Also

Replication and Related Methods, DB_ENV->rep_set_request()