Package | Description |
---|---|
org.mariadb.jdbc.internal.failover | |
org.mariadb.jdbc.internal.failover.impl |
Modifier and Type | Method and Description |
---|---|
HandleErrorResult |
AbstractMastersListener.handleFailover(SQLException qe,
Method method,
Object[] args,
Protocol protocol,
boolean isClosed)
Call when a failover is detected on master connection.
|
HandleErrorResult |
AbstractMastersSlavesListener.handleFailover(SQLException qe,
Method method,
Object[] args,
Protocol protocol,
boolean isClosed)
Handle failover on master or slave 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 |
AbstractMastersSlavesListener.secondaryFail(Method method,
Object[] args,
boolean killCmd) |
Modifier and Type | Method and Description |
---|---|
HandleErrorResult |
MastersFailoverListener.primaryFail(Method method,
Object[] args,
boolean killCmd,
boolean alreadyClosed) |
HandleErrorResult |
MastersSlavesListener.primaryFail(Method method,
Object[] args,
boolean killCmd,
boolean isClosed)
To handle the newly detected failover on the master connection.
|
HandleErrorResult |
MastersSlavesListener.secondaryFail(Method method,
Object[] args,
boolean killCmd)
To handle the newly detected failover on the secondary connection.
|
Copyright © 2020 mariadb.com. All rights reserved.