Uses of Enum Class
org.mariadb.jdbc.export.HaMode
Packages that use HaMode
-
Uses of HaMode in org.mariadb.jdbc
Fields in org.mariadb.jdbc declared as HaModeModifier and TypeFieldDescriptionprivate HaMode
Configuration.Builder._haMode
private HaMode
Configuration.haMode
Methods in org.mariadb.jdbc that return HaModeModifier and TypeMethodDescriptionConfiguration.haMode()
High availability modeprivate static HaMode
Configuration.parseHaMode
(String url, int separator) Methods in org.mariadb.jdbc with parameters of type HaModeModifier and TypeMethodDescriptionSet failover High-availability modestatic List
<HostAddress> parse - parse server addresses from the URL fragment.private static HostAddress
HostAddress.parseParameterHostAddress
(String str, HaMode haMode, boolean first) private static HostAddress
HostAddress.parseSimpleHostAddress
(String str, HaMode haMode, boolean first) Parse Single host -
Uses of HaMode in org.mariadb.jdbc.export
Methods in org.mariadb.jdbc.export that return HaModeModifier and TypeMethodDescriptionstatic HaMode
Get HAMode from values or aliasesstatic HaMode
Returns the enum constant of this class with the specified name.static HaMode[]
HaMode.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.mariadb.jdbc.export with parameters of type HaModeModifier and TypeMethodDescriptionstatic Optional
<HostAddress> HaMode.getAvailableRoundRobinHost
(HaMode haMode, List<HostAddress> hostAddresses, ConcurrentMap<HostAddress, Long> denyList, boolean primary) return hosts of corresponding type (primary or not) without blacklisted hosts.