| Package | Description |
|---|---|
| org.mariadb.jdbc | |
| org.mariadb.jdbc.internal.failover | |
| org.mariadb.jdbc.internal.failover.impl | |
| org.mariadb.jdbc.internal.protocol | |
| org.mariadb.jdbc.internal.util |
| Modifier and Type | Method and Description |
|---|---|
static UrlParser |
UrlParser.parse(String url) |
static UrlParser |
UrlParser.parse(String url,
Properties prop)
Parse url connection string with additional properties.
|
| Modifier and Type | Field and Description |
|---|---|
UrlParser |
AbstractMastersListener.urlParser |
| Modifier and Type | Method and Description |
|---|---|
UrlParser |
Listener.getUrlParser() |
UrlParser |
AbstractMastersListener.getUrlParser() |
| Constructor and Description |
|---|
AbstractMastersListener(UrlParser urlParser) |
AbstractMastersSlavesListener(UrlParser urlParser) |
| Constructor and Description |
|---|
AuroraListener(UrlParser urlParser)
Constructor for Aurora.
|
MastersFailoverListener(UrlParser urlParser)
Initialisation.
|
MastersSlavesListener(UrlParser urlParser)
Initialisation.
|
| Modifier and Type | Field and Description |
|---|---|
protected UrlParser |
AbstractConnectProtocol.urlParser |
| Modifier and Type | Method and Description |
|---|---|
UrlParser |
Protocol.getUrlParser() |
UrlParser |
AbstractConnectProtocol.getUrlParser() |
| Modifier and Type | Method and Description |
|---|---|
static MastersSlavesProtocol |
MastersSlavesProtocol.getNewProtocol(FailoverProxy proxy,
UrlParser urlParser)
Get new instance of MastersSlavesProtocol.
|
static MasterProtocol |
MasterProtocol.getNewProtocol(FailoverProxy proxy,
UrlParser urlParser)
Get new instance.
|
static AuroraProtocol |
AuroraProtocol.getNewProtocol(FailoverProxy proxy,
UrlParser urlParser)
Initialize new protocol instance.
|
| Constructor and Description |
|---|
AbstractConnectProtocol(UrlParser urlParser,
ReentrantLock lock)
Get a protocol instance.
|
AbstractQueryProtocol(UrlParser urlParser,
ReentrantLock lock)
Get a protocol instance.
|
AuroraProtocol(UrlParser url,
ReentrantLock lock) |
MasterProtocol(UrlParser urlParser,
ReentrantLock lock)
Get a protocol instance.
|
MastersSlavesProtocol(UrlParser url,
ReentrantLock lock) |
| Modifier and Type | Method and Description |
|---|---|
static Socket |
Utils.createSocket(UrlParser urlParser,
String host)
Create socket accordingly to options.
|
static Protocol |
Utils.retrieveProxy(UrlParser urlParser,
ReentrantLock lock)
Retrieve protocol corresponding to the failover options.
|
Copyright © 2017. All rights reserved.