public class TarantoolClusterConnectionManager extends AbstractTarantoolConnectionManager
AbstractTarantoolConnectionManager, aware of connecting to the Tarantool cluster| Constructor and Description |
|---|
TarantoolClusterConnectionManager(TarantoolClientConfig config,
TarantoolConnectionFactory connectionFactory,
TarantoolConnectionListeners listeners,
TarantoolClusterAddressProvider addressProvider)
Basic constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected Collection<TarantoolServerAddress> |
getAddresses()
Get server addresses to connect to.
|
areAddressesChanged, areConnectionsAlive, getConnection, refreshpublic TarantoolClusterConnectionManager(TarantoolClientConfig config, TarantoolConnectionFactory connectionFactory, TarantoolConnectionListeners listeners, TarantoolClusterAddressProvider addressProvider)
config - client configurationconnectionFactory - manages instantiation of Tarantool server connectionslisteners - are invoked after connection is establishedaddressProvider - provides Tarantool server nodes addressesprotected Collection<TarantoolServerAddress> getAddresses()
AbstractTarantoolConnectionManagerConnectionSelectionStrategy instance.getAddresses in class AbstractTarantoolConnectionManagerpublic void close()
close in interface AutoCloseableclose in class AbstractTarantoolConnectionManagerCopyright © 2025 Picodata. All rights reserved.