Uses of Interface
org.mariadb.jdbc.internal.failover.Listener
Packages that use Listener
Package
Description
-
Uses of Listener in org.mariadb.jdbc.internal.failover
Classes in org.mariadb.jdbc.internal.failover that implement ListenerModifier and TypeClassDescriptionclassclassFields in org.mariadb.jdbc.internal.failover declared as ListenerMethods in org.mariadb.jdbc.internal.failover that return ListenerConstructors in org.mariadb.jdbc.internal.failover with parameters of type ListenerModifierConstructorDescriptionFailoverProxy(Listener listener, ReentrantLock lock) Proxy constructor. -
Uses of Listener in org.mariadb.jdbc.internal.failover.impl
Classes in org.mariadb.jdbc.internal.failover.impl that implement ListenerModifier and TypeClassDescriptionclassclassclassthis 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 ListenerModifier and TypeFieldDescriptionprivate final ConcurrentLinkedQueue<Listener> ConnectionValidator.queueprivate static final ConcurrentLinkedQueue<Listener> FailoverLoop.queueMethods in org.mariadb.jdbc.internal.failover.thread with parameters of type ListenerModifier and TypeMethodDescriptionvoidConnectionValidator.addListener(Listener listener, long listenerCheckMillis) Add listener to validation list.static voidFailoverLoop.addListener(Listener listener) voidConnectionValidator.removeListener(Listener listener) Remove listener to validation list.static voidFailoverLoop.removeListener(Listener listener) -
Uses of Listener in org.mariadb.jdbc.internal.protocol
Methods in org.mariadb.jdbc.internal.protocol with parameters of type ListenerModifier and TypeMethodDescriptionstatic voidMasterProtocol.loop(Listener listener, GlobalStateInfo globalInfo, List<HostAddress> addresses, SearchFilter searchFilter) loop until found the failed connection.private static voidMasterProtocol.resetHostList(Listener listener, Deque<HostAddress> loopAddresses) Reinitialize loopAddresses with all hosts : all servers in randomize order without connected host.