DbEnv::rep_get_clockskew()

#include <db_cxx.h>

DbEnv::rep_get_clockskew(u_int32_t *fast_clockp, u_in32_t *slow_clockp);

The DbEnv::rep_get_clockskew() method returns the current clock skew ratio values, as set by the DbEnv::rep_set_clockskew() method.

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

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

fast_clockp

The fast_clockp parameter references memory into which the value for the fastest clock in the replication group is copied.

slow_clockp

The slow_clockp parameter references memory into which the value for the slowest clock in the replication group is copied.

Class

DbEnv

See Also

Replication and Related Methods, DbEnv::rep_set_clockskew()