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

org.tarantool.cluster.TarantoolClusterDiscoverer Maven / Gradle / Ivy

There is a newer version: 1.9.4
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy