primaryFail
HandleErrorResult primaryFail(Method method,
Object[] args,
boolean killCmd,
boolean wasClosed)
throws SQLException
- Throws:
SQLException
AbstractMastersListener
, AbstractMastersReplicasListener
, AuroraListener
, MastersFailoverListener
, MastersReplicasListener
void
addToBlacklist(HostAddress hostAddress)
boolean
boolean
checkMasterStatus(SearchFilter searchFilter)
void
foundActiveMaster(Protocol protocol)
long
int
getProxy()
int
long
int
handleFailover(SQLException qe,
Method method,
Object[] args,
Protocol protocol,
boolean wasClosed)
boolean
void
boolean
boolean
boolean
isClosed()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isValid(int timeout)
boolean
void
preAbort()
void
preClose()
void
primaryFail(Method method,
Object[] args,
boolean killCmd,
boolean wasClosed)
void
prolog(long maxRows,
MariaDbConnection connection,
MariaDbStatement statement)
void
void
void
removeFromBlacklist(HostAddress hostAddress)
void
rePrepareOnReplica(ServerPrepareResult oldServerPrepareResult,
boolean mustExecuteOnMaster)
void
reset()
boolean
boolean
void
setProxy(FailoverProxy proxy)
void
switchReadOnlyConnection(Boolean readonly)
void
syncConnection(Protocol from,
Protocol to)
void
throwFailoverMessage(HostAddress failHostAddress,
boolean wasMaster,
SQLException queryException,
boolean reconnected)
boolean
versionGreaterOrEqual(int major,
int minor,
int patch)
SQLException
SQLException
SQLException
SQLException
SQLException
Throwable
Throwable
Throwable
SQLException
SQLException
SQLException
SQLException
SQLException
SQLException
SQLException
SocketException
SQLException
SQLException