c++ - How to register a DB failover callback in SOCI? -
i connect database using soci library , want obtain database fail-over events logging purposes. i'm not sure interface implement , how callback registration. there such support in soci?
the failover notifications supported soci connections.
the failover_callback
interface can used callback channel notifications of events automatically processed when session forcibly closed due connectivity problems.
see interface details @ https://github.com/soci/soci/blob/master/docs/connections.md
Comments
Post a Comment