# Uses of Class
org.mariadb.jdbc.internal.failover.HandleErrorResult

Packages that use HandleErrorResult
Package
Description
org.mariadb.jdbc.internal.failover
org.mariadb.jdbc.internal.failover.impl

## Uses of HandleErrorResult in org.mariadb.jdbc.internal.failover

Methods in org.mariadb.jdbc.internal.failover that return HandleErrorResult
Modifier and Type
Method
Description
`HandleErrorResult`
AbstractMastersListener.`handleFailover(SQLException qe, Method method, Object[] args, Protocol protocol, boolean isClosed)`
Call when a failover is detected on master connection.
`HandleErrorResult`
AbstractMastersReplicasListener.`handleFailover(SQLException qe, Method method, Object[] args, Protocol protocol, boolean isClosed)`
Handle failover on master or replica connection.
`HandleErrorResult`
Listener.`handleFailover(SQLException qe, Method method, Object[] args, Protocol protocol, boolean wasClosed)`
`abstract HandleErrorResult`
AbstractMastersListener.`primaryFail(Method method, Object[] args, boolean killCmd, boolean isClosed)`
`HandleErrorResult`
Listener.`primaryFail(Method method, Object[] args, boolean killCmd, boolean wasClosed)`
`HandleErrorResult`
AbstractMastersListener.`relaunchOperation(Method method, Object[] args)`
After a failover that has bean done, relaunch the operation that was in progress.
`abstract HandleErrorResult`
AbstractMastersReplicasListener.`secondaryFail(Method method, Object[] args, boolean killCmd)`

## Uses of HandleErrorResult in org.mariadb.jdbc.internal.failover.impl

Methods in org.mariadb.jdbc.internal.failover.impl that return HandleErrorResult
Modifier and Type
Method
Description
`HandleErrorResult`
MastersFailoverListener.`primaryFail(Method method, Object[] args, boolean killCmd, boolean alreadyClosed)`
`HandleErrorResult`
MastersReplicasListener.`primaryFail(Method method, Object[] args, boolean killCmd, boolean isClosed)`
To handle the newly detected failover on the master connection.
`HandleErrorResult`
MastersReplicasListener.`secondaryFail(Method method, Object[] args, boolean killCmd)`
To handle the newly detected failover on the secondary connection.