Module org.neo4j.driver
Class NettyConnectionProvider
java.lang.Object
org.neo4j.driver.internal.bolt.basicimpl.NettyConnectionProvider
- All Implemented Interfaces:
ConnectionProvider
-
Constructor Summary
ConstructorDescriptionNettyConnectionProvider
(io.netty.channel.EventLoopGroup eventLoopGroup, Clock clock, DomainNameResolver domainNameResolver, io.netty.channel.local.LocalAddress localAddress, LoggingProvider logging) -
Method Summary
Modifier and TypeMethodDescriptionacquireConnection
(BoltServerAddress address, SecurityPlan securityPlan, RoutingContext routingContext, String databaseName, Map<String, Value> authMap, BoltAgent boltAgent, String userAgent, AccessMode mode, int connectTimeoutMillis, String impersonatedUser, CompletableFuture<Long> latestAuthMillisFuture, NotificationConfig notificationConfig, MetricsListener metricsListener)
-
Constructor Details
-
NettyConnectionProvider
public NettyConnectionProvider(io.netty.channel.EventLoopGroup eventLoopGroup, Clock clock, DomainNameResolver domainNameResolver, io.netty.channel.local.LocalAddress localAddress, LoggingProvider logging)
-
-
Method Details
-
acquireConnection
public CompletionStage<Connection> acquireConnection(BoltServerAddress address, SecurityPlan securityPlan, RoutingContext routingContext, String databaseName, Map<String, Value> authMap, BoltAgent boltAgent, String userAgent, AccessMode mode, int connectTimeoutMillis, String impersonatedUser, CompletableFuture<Long> latestAuthMillisFuture, NotificationConfig notificationConfig, MetricsListener metricsListener) - Specified by:
acquireConnection
in interfaceConnectionProvider
-