Class ClusterTarantoolClient<T extends Packable,​R extends Collection<T>>

  • Type Parameters:
    T - target tuple type
    R - target tuple collection type
    All Implemented Interfaces:
    TarantoolCallOperations, TarantoolClient<T,​R>, TarantoolEvalOperations, AutoCloseable
    Direct Known Subclasses:
    ClusterTarantoolTupleClient

    public abstract class ClusterTarantoolClient<T extends Packable,​R extends Collection<T>>
    extends AbstractTarantoolClient<T,​R>
    Main class for connecting to a cluster of Tarantool servers. Provides basic API for interacting with the database and manages connections. Connects to all configured Tarantool server addresses simultaneously and dynamically selects the target server for performing the next request accordingly to the provided connection selection strategy. The credentials for connecting to each server are expected to be the same.