org.tarantool.cluster.TarantoolClusterDiscoverer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of connector Show documentation
Show all versions of connector Show documentation
Tarantool client for java
package org.tarantool.cluster;
import java.util.Set;
/**
* Discovery strategy to obtain a list of the cluster nodes.
* This one can be used by {@link org.tarantool.RefreshableSocketProvider}
* to provide support for fault tolerance property.
*
* @see org.tarantool.RefreshableSocketProvider
*/
public interface TarantoolClusterDiscoverer {
/**
* Gets nodes addresses in host[:port]
format.
*
* @return list of the cluster nodes
*/
Set getInstances();
}