| Package | Description |
|---|---|
| org.mariadb.jdbc | |
| org.mariadb.jdbc.internal.failover | |
| org.mariadb.jdbc.internal.failover.impl | |
| org.mariadb.jdbc.internal.protocol |
| Modifier and Type | Method and Description |
|---|---|
List<HostAddress> |
UrlParser.getHostAddresses() |
static List<HostAddress> |
HostAddress.parse(String spec,
HaMode haMode)
parse - parse server addresses from the URL fragment
|
| Modifier and Type | Method and Description |
|---|---|
static String |
HostAddress.toString(HostAddress[] addrs)
ToString implementation of addresses.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
HostAddress.toString(List<HostAddress> addrs)
ToString implementation of addresses.
|
| Constructor and Description |
|---|
UrlParser(String database,
List<HostAddress> addresses,
Options options,
HaMode haMode) |
| 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.
|
| Modifier and Type | Field and Description |
|---|---|
protected HostAddress |
AbstractConnectProtocol.currentHost |
| Modifier and Type | Method and Description |
|---|---|
HostAddress |
Protocol.getHostAddress() |
HostAddress |
AbstractConnectProtocol.getHostAddress() |
| Modifier and Type | Method and Description |
|---|---|
static void |
AuroraProtocol.searchProbableMaster(AuroraListener listener,
HostAddress probableMaster,
Map<HostAddress,Long> blacklist,
SearchFilter searchFilter)
Connect aurora probable master.
|
void |
Protocol.setHostAddress(HostAddress hostAddress) |
void |
AbstractConnectProtocol.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 |
MasterProtocol.loop(Listener listener,
List<HostAddress> addresses,
Map<HostAddress,Long> blacklist,
SearchFilter searchFilter)
loop until found the failed connection.
|
static void |
MasterProtocol.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)
Connect aurora probable master.
|
Copyright © 2015. All rights reserved.