DbEnv::repmgr_get_ack_policy()

#include <db_cxx.h>

int
DbEnv::repmgr_get_ack_policy(int *ack_policyp);

The DbEnv::repmgr_get_ack_policy() method returns the Replication Manager's client acknowledgment policy. This is configured using the DbEnv::repmgr_set_ack_policy() method.

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

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

ack_policyp

The ack_policyp parameter references memory into which the Replication Manager's client acknowledgement policy is copied.

Class

DbEnv

See Also

Replication and Related Methods, DbEnv::repmgr_set_ack_policy()