Class FailoverConnectionProxy

java.lang.Object
com.mysql.cj.jdbc.ha.MultiHostConnectionProxy
com.mysql.cj.jdbc.ha.FailoverConnectionProxy
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class FailoverConnectionProxy
extends MultiHostConnectionProxy
A proxy for a dynamic com.mysql.cj.jdbc.JdbcConnection implementation that provides failover features for list of hosts. Connection switching occurs on communications related exceptions and/or user defined settings, namely when one of the conditions set in 'secondsBeforeRetrySource' or 'queriesBeforeRetrySource' is met.