
io.tarantool.driver.core.TarantoolConnectionManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cartridge-driver Show documentation
Show all versions of cartridge-driver Show documentation
Tarantool Cartridge driver for Tarantool versions 1.10+ based on Netty framework
package io.tarantool.driver.core;
/**
* Manages the Tarantool server connections lifecycle. Maintains multiple connections. Once a connection is lost,
* a connection procedure is performed.
*
* @author Alexey Kuzin
*/
public interface TarantoolConnectionManager extends AutoCloseable {
/**
* Get an established connection according to the order provided by specified connection selection strategy. If the
* connection procedure hasn't been performed yet, starts it.
* @return next connection in order
*/
TarantoolConnection getConnection();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy