protected void
boolean
void
Verify that there is waiting connection that have to replace failing one.
List current connected HostAddress.
void
Method called when a new Master connection is found after a fallback.
void
Method called when a new secondary connection is found after a fallback.
int
long
Get current connection server id.
int
Get timeout (master connection possibly down).
void
void
boolean
Indicate if connection has an active transaction.
boolean
boolean
boolean
boolean
boolean
void
Use the parameter newMasterProtocol as new current master connection.
void
Use the parameter newSecondaryProtocol as new current secondary connection.
boolean
void
void
Called after a call on Connection.close().
void
To handle the newly detected failover on the master connection.
void
void
Reconnect failed connection.
void
protected void
void
void
Reset state of master and replica connection.
To handle the newly detected failover on the secondary connection.
boolean
void
Switch to a read-only(secondary) or read and write connection(master).
boolean