Package | Description |
---|---|
org.mariadb.jdbc | |
org.mariadb.jdbc.internal.common | |
org.mariadb.jdbc.internal.mysql | |
org.mariadb.jdbc.internal.mysql.listener | |
org.mariadb.jdbc.internal.mysql.listener.impl |
Modifier and Type | Method and Description |
---|---|
Protocol |
MySQLStatement.getProtocol()
returns the protocol.
|
Modifier and Type | Method and Description |
---|---|
static MySQLConnection |
MySQLConnection.newConnection(Protocol protocol,
ReentrantReadWriteLock lock) |
Constructor and Description |
---|
MySQLResultSet(QueryResult dqr,
Statement statement,
Protocol protocol,
Calendar cal) |
Modifier and Type | Method and Description |
---|---|
static Protocol |
Utils.retrieveProxy(JDBCUrl jdbcUrl,
ReentrantReadWriteLock lock) |
Modifier and Type | Class and Description |
---|---|
class |
AuroraProtocol |
class |
MastersSlavesProtocol |
class |
MySQLProtocol |
Modifier and Type | Field and Description |
---|---|
protected Protocol |
AbstractMastersListener.currentProtocol |
Modifier and Type | Method and Description |
---|---|
Protocol |
AbstractMastersListener.getCurrentProtocol() |
Modifier and Type | Method and Description |
---|---|
void |
Listener.foundActiveMaster(Protocol protocol) |
abstract void |
AbstractMastersSlavesListener.foundActiveSecondary(Protocol newSecondaryProtocol) |
void |
Listener.syncConnection(Protocol from,
Protocol to) |
void |
AbstractMastersListener.syncConnection(Protocol from,
Protocol to)
when switching between 2 connections, report existing connection parameter to the new used connection
|
Modifier and Type | Field and Description |
---|---|
protected Protocol |
MastersSlavesListener.masterProtocol |
protected Protocol |
MastersSlavesListener.secondaryProtocol |
Modifier and Type | Method and Description |
---|---|
void |
MastersSlavesListener.foundActiveMaster(Protocol newMasterProtocol)
method called when a new Master connection is found after a fallback
|
void |
MastersFailoverListener.foundActiveMaster(Protocol protocol)
method called when a new Master connection is found after a fallback
|
void |
MastersSlavesListener.foundActiveSecondary(Protocol newSecondaryProtocol)
method called when a new secondary connection is found after a fallback
|
HostAddress |
AuroraListener.searchByStartName(Protocol secondaryProtocol,
List<HostAddress> loopAddress)
Aurora replica doesn't have the master endpoint but the master instance name.
|
Copyright © 2015. All rights reserved.