public interface TarantoolConnection extends AutoCloseable
| Modifier and Type | Method and Description | 
|---|---|
void | 
addConnectionCloseListener(TarantoolConnectionCloseListener listener)
Add a listener which is invoked when the connection is closed. 
 | 
void | 
addConnectionFailureListener(TarantoolConnectionFailureListener listener)
Add a listener which is invoked when the connection is broken from the server side (e.g. server closed
 the connection or a network failure has occurred). 
 | 
io.netty.channel.Channel | 
getChannel()
Get the Netty channel baking this connection 
 | 
InetSocketAddress | 
getRemoteAddress()
Get the Tarantool server address for this connection 
 | 
TarantoolVersion | 
getVersion()
Get the Tarantool server version 
 | 
boolean | 
isConnected()
Get the connection status 
 | 
TarantoolRequestMetadata | 
sendRequest(TarantoolRequest request)
Send a prepared request to the Tarantool server and flush the buffer 
 | 
closeInetSocketAddress getRemoteAddress() throws TarantoolClientException
TarantoolClientException - if the client is not connectedTarantoolVersion getVersion() throws TarantoolClientException
TarantoolVersionTarantoolClientException - if the client is not connectedboolean isConnected()
TarantoolRequestMetadata sendRequest(TarantoolRequest request)
request - the requestio.netty.channel.Channel getChannel()
void addConnectionFailureListener(TarantoolConnectionFailureListener listener)
listener - a TarantoolConnectionFailureListener instancevoid addConnectionCloseListener(TarantoolConnectionCloseListener listener)
listener - a TarantoolConnectionCloseListener instanceCopyright © 2025 Picodata. All rights reserved.