Interface TarantoolConnectionListener
-
public interface TarantoolConnectionListener
Listens on the connection future and asynchronously performs some operation over the connection once it is ready
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletableFuture<TarantoolConnection>
onConnection(TarantoolConnection connection)
The operation to perform when the connection is ready
-
-
-
Method Detail
-
onConnection
CompletableFuture<TarantoolConnection> onConnection(TarantoolConnection connection)
The operation to perform when the connection is ready- Parameters:
connection
- established connection to the Tarantool server- Returns:
- operation result future
-
-