All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.despegar.jdbc.galera.NoHostAvailableException Maven / Gradle / Ivy

Go to download

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

There is a newer version: 1.0.20
Show newest version
package com.despegar.jdbc.galera;

import com.google.common.base.Joiner;

import javax.annotation.Nonnull;
import java.util.List;

public class NoHostAvailableException extends RuntimeException {

    public NoHostAvailableException(@Nonnull List hosts){
        super("Non of the following active hosts is available:" + Joiner.on(",").join(hosts));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy