- All Known Implementing Classes:
LoadBalancer
public interface ConnectionProvider
Interface defines a layer used by the driver to obtain connections. It is meant to be the only component that
differs between "direct" and "routing" driver.
-
Method Summary
Modifier and TypeMethodDescriptionacquireConnection
(ConnectionContext context) close()
The validation of connectivity will happen with the default database.
-
Method Details
-
acquireConnection
-
verifyConnectivity
CompletionStage<Void> verifyConnectivity()The validation of connectivity will happen with the default database. -
close
CompletionStage<Void> close() -
supportsMultiDb
CompletionStage<Boolean> supportsMultiDb() -
supportsSessionAuth
CompletionStage<Boolean> supportsSessionAuth()
-