Uses of Interface
org.mariadb.jdbc.internal.failover.Listener
-
Packages that use Listener Package Description org.mariadb.jdbc.internal.failover org.mariadb.jdbc.internal.failover.impl org.mariadb.jdbc.internal.failover.thread org.mariadb.jdbc.internal.protocol -
-
Uses of Listener in org.mariadb.jdbc.internal.failover
Classes in org.mariadb.jdbc.internal.failover that implement Listener Modifier and Type Class Description class
AbstractMastersListener
class
AbstractMastersSlavesListener
Fields in org.mariadb.jdbc.internal.failover declared as Listener Modifier and Type Field Description private Listener
FailoverProxy. listener
Methods in org.mariadb.jdbc.internal.failover that return Listener Modifier and Type Method Description Listener
FailoverProxy. getListener()
Constructors in org.mariadb.jdbc.internal.failover with parameters of type Listener Constructor Description FailoverProxy(Listener listener, java.util.concurrent.locks.ReentrantLock lock, LruTraceCache traceCache)
Proxy constructor. -
Uses of Listener in org.mariadb.jdbc.internal.failover.impl
Classes in org.mariadb.jdbc.internal.failover.impl that implement Listener Modifier and Type Class Description class
AuroraListener
class
MastersFailoverListener
class
MastersSlavesListener
this class handle the operation when multiple hosts. -
Uses of Listener in org.mariadb.jdbc.internal.failover.thread
Fields in org.mariadb.jdbc.internal.failover.thread with type parameters of type Listener Modifier and Type Field Description private java.util.concurrent.ConcurrentLinkedQueue<Listener>
ConnectionValidator. queue
private static java.util.concurrent.ConcurrentLinkedQueue<Listener>
FailoverLoop. queue
Methods in org.mariadb.jdbc.internal.failover.thread with parameters of type Listener Modifier and Type Method Description void
ConnectionValidator. addListener(Listener listener, long listenerCheckMillis)
Add listener to validation list.static void
FailoverLoop. addListener(Listener listener)
void
ConnectionValidator. removeListener(Listener listener)
Remove listener to validation list.static void
FailoverLoop. removeListener(Listener listener)
-
Uses of Listener in org.mariadb.jdbc.internal.protocol
Methods in org.mariadb.jdbc.internal.protocol with parameters of type Listener Modifier and Type Method Description static void
MasterProtocol. loop(Listener listener, GlobalStateInfo globalInfo, java.util.List<HostAddress> addresses, SearchFilter searchFilter)
loop until found the failed connection.private static void
MasterProtocol. resetHostList(Listener listener, java.util.Deque<HostAddress> loopAddresses)
Reinitialize loopAddresses with all hosts : all servers in randomize order without connected host.
-