
org.tarantool.cluster.TarantoolClusterDiscoverer Maven / Gradle / Ivy
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();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy