| Package | Description |
|---|---|
| org.mariadb.jdbc | |
| org.mariadb.jdbc.internal.mysql | |
| org.mariadb.jdbc.internal.mysql.listener | |
| org.mariadb.jdbc.internal.mysql.listener.impl |
| Modifier and Type | Method and Description |
|---|---|
List<HostAddress> |
JDBCUrl.getHostAddresses() |
static List<HostAddress> |
HostAddress.parse(String spec,
UrlHAMode haMode)
parse - parse server addresses from the URL fragment
|
| Modifier and Type | Method and Description |
|---|---|
static String |
HostAddress.toString(HostAddress[] addrs) |
| Modifier and Type | Method and Description |
|---|---|
static String |
HostAddress.toString(List<HostAddress> addrs) |
| Constructor and Description |
|---|
JDBCUrl(String database,
List<HostAddress> addresses,
Options options,
UrlHAMode haMode) |
| Modifier and Type | Field and Description |
|---|---|
protected HostAddress |
MySQLProtocol.currentHost |
| Modifier and Type | Method and Description |
|---|---|
HostAddress |
Protocol.getHostAddress() |
HostAddress |
MySQLProtocol.getHostAddress() |
| Modifier and Type | Method and Description |
|---|---|
static void |
AuroraProtocol.searchProbableMaster(AuroraListener listener,
HostAddress probableMaster,
Map<HostAddress,Long> blacklist,
SearchFilter searchFilter) |
void |
Protocol.setHostAddress(HostAddress hostAddress) |
void |
MySQLProtocol.setHostAddress(HostAddress host) |
| Modifier and Type | Method and Description |
|---|---|
static void |
AuroraProtocol.loop(AuroraListener listener,
List<HostAddress> addresses,
Map<HostAddress,Long> blacklist,
SearchFilter searchFilter)
loop until found the failed connection.
|
static void |
AuroraProtocol.loop(AuroraListener listener,
List<HostAddress> addresses,
Map<HostAddress,Long> blacklist,
SearchFilter searchFilter)
loop until found the failed connection.
|
static void |
MySQLProtocol.loop(Listener listener,
List<HostAddress> addresses,
Map<HostAddress,Long> blacklist,
SearchFilter searchFilter)
loop until found the failed connection.
|
static void |
MySQLProtocol.loop(Listener listener,
List<HostAddress> addresses,
Map<HostAddress,Long> blacklist,
SearchFilter searchFilter)
loop until found the failed connection.
|
static void |
MastersSlavesProtocol.loop(MastersSlavesListener listener,
List<HostAddress> addresses,
Map<HostAddress,Long> blacklist,
SearchFilter searchFilter)
loop until found the failed connection.
|
static void |
MastersSlavesProtocol.loop(MastersSlavesListener listener,
List<HostAddress> addresses,
Map<HostAddress,Long> blacklist,
SearchFilter searchFilter)
loop until found the failed connection.
|
static void |
AuroraProtocol.searchProbableMaster(AuroraListener listener,
HostAddress probableMaster,
Map<HostAddress,Long> blacklist,
SearchFilter searchFilter) |
| Modifier and Type | Field and Description |
|---|---|
protected static Map<HostAddress,Long> |
AbstractMastersListener.blacklist
list the recent failedConnection
|
| Modifier and Type | Method and Description |
|---|---|
Map<HostAddress,Long> |
Listener.getBlacklist() |
Map<HostAddress,Long> |
AbstractMastersListener.getBlacklist() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractMastersListener.addToBlacklist(HostAddress hostAddress)
After a failover, put the hostAddress in a static list so the other connection will not take this host in account for a time
|
| Modifier and Type | Method and Description |
|---|---|
HostAddress |
AuroraListener.searchByStartName(Protocol secondaryProtocol,
List<HostAddress> loopAddress)
Aurora replica doesn't have the master endpoint but the master instance name.
|
| Modifier and Type | Method and Description |
|---|---|
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.