public interface TarantoolClusterAddressProvider extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
default void |
close() |
Collection<TarantoolServerAddress> |
getAddresses()
The collection of Tarantool server nodes which belong to the same cluster
|
default void |
setRefreshCallback(Runnable runnable)
Specify callback for refreshing connections to addresses.
|
Collection<TarantoolServerAddress> getAddresses()
TarantoolServerAddress
default void setRefreshCallback(Runnable runnable)
For example: can be executed when provider detects changes in the list of server addresses.
runnable
- callback for running refresh connectionsdefault void close()
close
in interface AutoCloseable
Copyright © 2025 Picodata. All rights reserved.