Uses of Interface
io.tarantool.driver.api.connection.TarantoolConnection
-
Packages that use TarantoolConnection Package Description io.tarantool.driver.api.connection Classes for working with connections to Tarantool instances.io.tarantool.driver.core.connection Contains classes for connection establishing and selection strategy invocation algorithms. -
-
Uses of TarantoolConnection in io.tarantool.driver.api.connection
Methods in io.tarantool.driver.api.connection that return TarantoolConnection Modifier and Type Method Description TarantoolConnectionConnectionSelectionStrategy. next()Provide the next available connection from the underlying pool of connectionsMethods in io.tarantool.driver.api.connection that return types with arguments of type TarantoolConnection Modifier and Type Method Description CompletableFuture<TarantoolConnection>TarantoolConnectionListener. onConnection(TarantoolConnection connection)The operation to perform when the connection is readyMethods in io.tarantool.driver.api.connection with parameters of type TarantoolConnection Modifier and Type Method Description CompletableFuture<TarantoolConnection>TarantoolConnectionListener. onConnection(TarantoolConnection connection)The operation to perform when the connection is readyvoidTarantoolConnectionCloseListener. onConnectionClosed(TarantoolConnection connection)This method is invoked when the connection has been closed.voidTarantoolConnectionFailureListener. onConnectionFailure(TarantoolConnection connection, Throwable e)This method is invoked when the connection has been broken.Method parameters in io.tarantool.driver.api.connection with type arguments of type TarantoolConnection Modifier and Type Method Description ConnectionSelectionStrategyConnectionSelectionStrategyFactory. create(TarantoolClientConfig config, Collection<TarantoolConnection> connections)Take the specified collection of Tarantool server connections and instantiate a strategyConnectionSelectionStrategyTarantoolConnectionSelectionStrategies.ParallelRoundRobinStrategyFactory. create(TarantoolClientConfig config, Collection<TarantoolConnection> connections)ConnectionSelectionStrategyTarantoolConnectionSelectionStrategies.RoundRobinStrategyFactory. create(TarantoolClientConfig config, Collection<TarantoolConnection> connections) -
Uses of TarantoolConnection in io.tarantool.driver.core.connection
Classes in io.tarantool.driver.core.connection that implement TarantoolConnection Modifier and Type Class Description classTarantoolConnectionImplMethods in io.tarantool.driver.core.connection that return types with arguments of type TarantoolConnection Modifier and Type Method Description CompletableFuture<TarantoolConnection>AbstractTarantoolConnectionManager. getConnection()CompletableFuture<TarantoolConnection>TarantoolConnectionManager. getConnection()Get an established connection according to the order provided by specified connection selection strategy.Collection<CompletableFuture<TarantoolConnection>>TarantoolConnectionFactory. multiConnection(InetSocketAddress serverAddress, int connections, TarantoolConnectionListeners connectionListeners)Create several connections and return their futuresCompletableFuture<TarantoolConnection>TarantoolConnectionFactory. singleConnection(InetSocketAddress serverAddress, TarantoolConnectionListeners connectionListeners)Create single connection and return connection futureConstructor parameters in io.tarantool.driver.core.connection with type arguments of type TarantoolConnection Constructor Description TarantoolConnectionIterator(Collection<TarantoolConnection> connections)Basic constructor.
-