| Modifier and Type | Method and Description |
|---|---|
static MariaDbConnection |
MariaDbConnection.newConnection(UrlParser urlParser,
GlobalStateInfo globalInfo)
Create new connection Object.
|
| Modifier and Type | Field and Description |
|---|---|
protected GlobalStateInfo |
AbstractMastersListener.globalInfo |
| Constructor and Description |
|---|
AbstractMastersListener(UrlParser urlParser,
GlobalStateInfo globalInfo) |
AbstractMastersReplicasListener(UrlParser urlParser,
GlobalStateInfo globalInfo) |
| Constructor and Description |
|---|
AuroraListener(UrlParser urlParser,
GlobalStateInfo globalInfo)
Constructor for Aurora.
|
MastersFailoverListener(UrlParser urlParser,
GlobalStateInfo globalInfo)
Initialisation.
|
MastersReplicasListener(UrlParser urlParser,
GlobalStateInfo globalInfo)
Initialisation.
|
| Modifier and Type | Method and Description |
|---|---|
static AuroraProtocol |
AuroraProtocol.getNewProtocol(FailoverProxy proxy,
GlobalStateInfo globalInfo,
UrlParser urlParser)
Initialize new protocol instance.
|
static void |
AuroraProtocol.loop(AuroraListener listener,
GlobalStateInfo globalInfo,
List<HostAddress> addresses,
SearchFilter initialSearchFilter)
loop until found the failed connection.
|
static void |
MasterProtocol.loop(Listener listener,
GlobalStateInfo globalInfo,
List<HostAddress> addresses,
SearchFilter searchFilter)
loop until found the failed connection.
|
static void |
MastersReplicasProtocol.loop(MastersReplicasListener listener,
GlobalStateInfo globalInfo,
List<HostAddress> addresses,
SearchFilter searchFilter)
loop until found the failed connection.
|
| Constructor and Description |
|---|
AbstractConnectProtocol(UrlParser urlParser,
GlobalStateInfo globalInfo,
ReentrantLock lock,
LruTraceCache traceCache)
Get a protocol instance.
|
AuroraProtocol(UrlParser url,
GlobalStateInfo globalInfo,
ReentrantLock lock,
LruTraceCache traceCache) |
MasterProtocol(UrlParser urlParser,
GlobalStateInfo globalInfo,
ReentrantLock lock,
LruTraceCache traceCache)
Get a protocol instance.
|
MastersReplicasProtocol(UrlParser url,
GlobalStateInfo globalInfo,
ReentrantLock lock,
LruTraceCache traceCache) |
| Modifier and Type | Method and Description |
|---|---|
static Protocol |
Utils.retrieveProxy(UrlParser urlParser,
GlobalStateInfo globalInfo)
Retrieve protocol corresponding to the failover options. if no failover option, protocol will
not be proxied. if a failover option is precised, protocol will be proxied so that any
connection error will be handle directly.
|
| Modifier and Type | Method and Description |
|---|---|
GlobalStateInfo |
Pool.getGlobalInfo() |
Copyright © 2020 mariadb.com. All rights reserved.