Package | Description |
---|---|
io.picodata.driver.api |
Contains interfaces and classes essential for end-user driver API
|
io.picodata.driver.api.connection |
Classes for working with connections to Tarantool instances.
|
io.picodata.driver.core |
Driver core classes
|
Modifier and Type | Method and Description |
---|---|
ConnectionSelectionStrategyFactory |
TarantoolClientConfig.getConnectionSelectionStrategyFactory()
Get factory implementation for collection selection strategy instances
|
Modifier and Type | Method and Description |
---|---|
void |
TarantoolClientConfig.setConnectionSelectionStrategyFactory(ConnectionSelectionStrategyFactory connectionSelectionStrategyFactory)
Set factory implementation for collection selection strategy instances, for example, an instance of
TarantoolConnectionSelectionStrategies.RoundRobinStrategyFactory |
TarantoolClientBuilder |
TarantoolClientBuilder.withConnectionSelectionStrategy(ConnectionSelectionStrategyFactory connectionSelectionStrategyFactory)
Specify a custom connection selection strategy factory.
|
TarantoolClientConfig.Builder |
TarantoolClientConfig.Builder.withConnectionSelectionStrategyFactory(ConnectionSelectionStrategyFactory factory)
Set the implementation of a factory which instantiates a strategy instance providing the algorithm of
selecting the next connection from a connection pool for performing the next request
|
Modifier and Type | Class and Description |
---|---|
static class |
TarantoolConnectionSelectionStrategies.ParallelRoundRobinStrategyFactory
Instantiates a
ParallelRoundRobinStrategy , which is applicable for multiple
connections to several servers and expects equal number of connections per server. |
static class |
TarantoolConnectionSelectionStrategies.RoundRobinStrategyFactory
Instantiates a
RoundRobinStrategy , which is applicable for multiple connections to
one server and selects connections in the order according to the passed collection. |
Modifier and Type | Method and Description |
---|---|
ConnectionSelectionStrategyFactory |
TarantoolConnectionSelectionStrategyType.value()
Value of enum
|
Modifier and Type | Method and Description |
---|---|
TarantoolClientBuilder |
TarantoolClientBuilderImpl.withConnectionSelectionStrategy(ConnectionSelectionStrategyFactory connectionSelectionStrategy) |
Constructor and Description |
---|
AbstractTarantoolClient(TarantoolClientConfig config,
ConnectionSelectionStrategyFactory selectionStrategyFactory,
TarantoolConnectionListeners listeners)
Deprecated.
|
Copyright © 2025 Picodata. All rights reserved.