Package | Description |
---|---|
io.picodata.driver.api.connection |
Classes for working with connections to Tarantool instances.
|
io.picodata.driver.core.connection |
Contains classes for connection establishing and selection strategy invocation algorithms.
|
Modifier and Type | Method and Description |
---|---|
TarantoolConnection |
ConnectionSelectionStrategy.next()
Provide the next available connection from the underlying pool of connections
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<TarantoolConnection> |
TarantoolConnectionListener.onConnection(TarantoolConnection connection)
The operation to perform when the connection is ready
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<TarantoolConnection> |
TarantoolConnectionListener.onConnection(TarantoolConnection connection)
The operation to perform when the connection is ready
|
void |
TarantoolConnectionCloseListener.onConnectionClosed(TarantoolConnection connection)
This method is invoked when the connection has been closed.
|
void |
TarantoolConnectionFailureListener.onConnectionFailure(TarantoolConnection connection,
Throwable e)
This method is invoked when the connection has been broken.
|
Modifier and Type | Method and Description |
---|---|
ConnectionSelectionStrategy |
TarantoolConnectionSelectionStrategies.RoundRobinStrategyFactory.create(TarantoolClientConfig config,
Collection<TarantoolConnection> connections) |
ConnectionSelectionStrategy |
TarantoolConnectionSelectionStrategies.ParallelRoundRobinStrategyFactory.create(TarantoolClientConfig config,
Collection<TarantoolConnection> connections) |
ConnectionSelectionStrategy |
ConnectionSelectionStrategyFactory.create(TarantoolClientConfig config,
Collection<TarantoolConnection> connections)
Take the specified collection of Tarantool server connections and instantiate a strategy
|
Modifier and Type | Class and Description |
---|---|
class |
TarantoolConnectionImpl |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<TarantoolConnection> |
TarantoolConnectionManager.getConnection()
Get an established connection according to the order provided by specified connection selection strategy.
|
CompletableFuture<TarantoolConnection> |
AbstractTarantoolConnectionManager.getConnection() |
Collection<CompletableFuture<TarantoolConnection>> |
TarantoolConnectionFactory.multiConnection(InetSocketAddress serverAddress,
int connections,
TarantoolConnectionListeners connectionListeners)
Create several connections and return their futures
|
CompletableFuture<TarantoolConnection> |
TarantoolConnectionFactory.singleConnection(InetSocketAddress serverAddress,
TarantoolConnectionListeners connectionListeners)
Create single connection and return connection future
|
Constructor and Description |
---|
TarantoolConnectionIterator(Collection<TarantoolConnection> connections)
Basic constructor.
|
Copyright © 2025 Picodata. All rights reserved.