Package io.tarantool.driver.api.connection
Classes for working with connections to Tarantool instances.
-
Interface Summary Interface Description ConnectionSelectionStrategy Implementations of this class contain an algorithm and maintain the necessary state for selecting the next available connection from the supplied set of connectionsConnectionSelectionStrategyFactory Manages instantiation of connection selection strategies.TarantoolConnection TarantoolConnectionCloseListener Connection close listener.TarantoolConnectionFailureListener Connection failure listener.TarantoolConnectionListener Listens on the connection future and asynchronously performs some operation over the connection once it is ready -
Class Summary Class Description TarantoolConnectionListeners Helper class.TarantoolConnectionSelectionStrategies Class-container for default kinds of connection selection strategies -
Enum Summary Enum Description TarantoolConnectionSelectionStrategies.ParallelRoundRobinStrategyFactory Instantiates aTarantoolConnectionSelectionStrategies.ParallelRoundRobinStrategy
, which is applicable for multiple connections to several servers and expects equal number of connections per server.TarantoolConnectionSelectionStrategies.RoundRobinStrategyFactory Instantiates aTarantoolConnectionSelectionStrategies.RoundRobinStrategy
, which is applicable for multiple connections to one server and selects connections in the order according to the passed collection.TarantoolConnectionSelectionStrategyType Enumeration of the default types of connection selection strategies.