| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMastersListener |
class |
AbstractMastersSlavesListener |
| Modifier and Type | Method and Description |
|---|---|
Listener |
FailoverProxy.getListener() |
| Constructor and Description |
|---|
FailoverProxy(Listener listener,
ReentrantLock lock,
LruTraceCache traceCache)
Proxy constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AuroraListener |
class |
MastersFailoverListener |
class |
MastersSlavesListener
this class handle the operation when multiple hosts.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LoadBalanceDriver.loop(UrlParser urlParser,
Listener listener,
GlobalStateInfo globalInfo,
SearchFilter searchFilter,
ConcurrentMap<HostAddress,HostStateInfo> blacklist,
Set<HostAddress> pickedList) |
| Modifier and Type | Method and Description |
|---|---|
void |
GroupBalanceStrategy.pickAddressList(List<LoadBalanceAddressList> groups,
UrlParser urlParser,
Listener listener,
GlobalStateInfo globalInfo,
SearchFilter searchFilter,
ConcurrentMap<HostAddress,HostStateInfo> blacklist,
Set<HostAddress> pickedList) |
void |
GroupRotationStrategy.pickAddressList(List<LoadBalanceAddressList> groups,
UrlParser urlParser,
Listener listener,
GlobalStateInfo globalInfo,
SearchFilter searchFilter,
ConcurrentMap<HostAddress,HostStateInfo> blacklist,
Set<HostAddress> pickedList) |
void |
ServerAffinityStrategy.pickConnection(LoadBalanceAddressList loadBalanceAddressList,
UrlParser urlParser,
Listener listener,
GlobalStateInfo globalInfo,
SearchFilter searchFilter,
ConcurrentMap<HostAddress,HostStateInfo> blacklist,
Set<HostAddress> pickedList) |
void |
RandomStrategy.pickConnection(LoadBalanceAddressList loadBalanceAddressList,
UrlParser urlParser,
Listener listener,
GlobalStateInfo globalInfo,
SearchFilter searchFilter,
ConcurrentMap<HostAddress,HostStateInfo> blacklist,
Set<HostAddress> pickedList) |
void |
BalanceStrategy.pickConnection(LoadBalanceAddressList loadBalanceAddressList,
UrlParser urlParser,
Listener listener,
GlobalStateInfo globalInfo,
SearchFilter searchFilter,
ConcurrentMap<HostAddress,HostStateInfo> blacklist,
Set<HostAddress> pickedList)
Select a proper connection based on the current configuration information
|
void |
RotationStrategy.pickConnection(LoadBalanceAddressList loadBalanceAddressList,
UrlParser urlParser,
Listener listener,
GlobalStateInfo globalInfo,
SearchFilter searchFilter,
ConcurrentMap<HostAddress,HostStateInfo> blacklist,
Set<HostAddress> pickedList) |
void |
ServerAffinityStrategy.pickConnectionFallThrough(LoadBalanceAddressList loadBalanceAddressList,
Listener listener,
GlobalStateInfo globalInfo) |
void |
RandomStrategy.pickConnectionFallThrough(LoadBalanceAddressList loadBalanceAddressList,
Listener listener,
GlobalStateInfo globalInfo) |
void |
BalanceStrategy.pickConnectionFallThrough(LoadBalanceAddressList loadBalanceAddressList,
Listener listener,
GlobalStateInfo globalInfo) |
void |
RotationStrategy.pickConnectionFallThrough(LoadBalanceAddressList loadBalanceAddressList,
Listener listener,
GlobalStateInfo globalInfo) |
| Modifier and Type | Method and Description |
|---|---|
static void |
FailoverLoop.addListener(Listener listener) |
void |
ConnectionValidator.addListener(Listener listener,
long listenerCheckMillis)
Add listener to validation list.
|
static void |
FailoverLoop.removeListener(Listener listener) |
void |
ConnectionValidator.removeListener(Listener listener)
Remove listener to validation list.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
MasterProtocol.loop(Listener listener,
GlobalStateInfo globalInfo,
List<HostAddress> addresses) |
static void |
MasterProtocol.loop(Listener listener,
GlobalStateInfo globalInfo,
List<HostAddress> addresses,
boolean fallThrough)
loop until found the failed connection.
|
Copyright © 2022 oceanbase.com. All rights reserved.