primaryFail
HandleErrorResult primaryFail(Method method,
Object[] args,
boolean killCmd,
boolean wasClosed)
throws SQLException
- Throws:
SQLException
AbstractMastersListener, AbstractMastersSlavesListener, AuroraListener, MastersFailoverListener, MastersSlavesListenervoidaddToBlacklist(HostAddress hostAddress) booleanbooleancheckMasterStatus(SearchFilter searchFilter) voidfoundActiveMaster(Protocol protocol) longintgetProxy()intlonginthandleFailover(SQLException qe,
Method method,
Object[] args,
Protocol protocol,
boolean wasClosed) booleanvoidbooleanbooleanbooleanisClosed()booleanbooleanbooleanbooleanbooleanbooleanbooleanisValid(int timeout) booleanvoidpreAbort()voidpreClose()voidprimaryFail(Method method,
Object[] args,
boolean killCmd,
boolean wasClosed) voidprolog(long maxRows,
MariaDbConnection connection,
MariaDbStatement statement) voidvoidvoidremoveFromBlacklist(HostAddress hostAddress) voidrePrepareOnSlave(ServerPrepareResult oldServerPrepareResult,
boolean mustExecuteOnMaster) voidreset()booleanbooleanvoidsetProxy(FailoverProxy proxy) voidswitchReadOnlyConnection(Boolean readonly) voidsyncConnection(Protocol from,
Protocol to) voidthrowFailoverMessage(HostAddress failHostAddress,
boolean wasMaster,
SQLException queryException,
boolean reconnected) booleanversionGreaterOrEqual(int major,
int minor,
int patch) SQLExceptionSQLExceptionSQLExceptionSQLExceptionSQLExceptionThrowableThrowableThrowableSQLExceptionSQLExceptionSQLExceptionSQLExceptionSQLExceptionSQLExceptionSQLExceptionSocketExceptionSQLExceptionSQLException