com.despegar.jdbc.galera.policies.ElectionNodePolicy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of galera-java-client Show documentation
Show all versions of galera-java-client Show documentation
A simple Java client for MariaDB Galera Cluster and Percona XtraDB Cluster. It is designed to be an
alternative to connect JVM app to
MariaDB/Percona galera nodes without HAProxy
package com.despegar.jdbc.galera.policies;
import java.util.List;
public interface ElectionNodePolicy {
String chooseNode(List activeNodes);
String getName();
}