io.tarantool.driver.TarantoolClusterAddressProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cartridge-driver Show documentation
Show all versions of cartridge-driver Show documentation
Tarantool Cartridge driver for Tarantool versions 1.10+ based on Netty framework
package io.tarantool.driver;
import java.util.Collection;
/**
* Provides a collection of Tarantool server addresses corresponding to the cluster nodes
*
* @author Alexey Kuzin
* @author Sergey Volgin
*/
public interface TarantoolClusterAddressProvider extends AutoCloseable {
/**
* The the collection of Tarantool server nodes which belong to the same cluster
* @return collection of {@link TarantoolServerAddress}
*/
Collection getAddresses();
@Override
default void close() {
}
}