java.lang.Object
org.neo4j.driver.internal.async.pool.ConnectionPoolImpl
- All Implemented Interfaces:
ConnectionPool
-
Field Summary
Fields inherited from interface org.neo4j.driver.internal.spi.ConnectionPool
CONNECTION_POOL_CLOSED_ERROR_MESSAGE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConnectionPoolImpl(ChannelConnector connector, io.netty.bootstrap.Bootstrap bootstrap, NettyChannelTracker nettyChannelTracker, NettyChannelHealthChecker nettyChannelHealthChecker, PoolSettings settings, MetricsListener metricsListener, Logging logging, Clock clock, boolean ownsEventLoopGroup, ConnectionFactory connectionFactory) ConnectionPoolImpl(ChannelConnector connector, io.netty.bootstrap.Bootstrap bootstrap, PoolSettings settings, MetricsListener metricsListener, Logging logging, Clock clock, boolean ownsEventLoopGroup) -
Method Summary
Modifier and TypeMethodDescriptionacquire(org.neo4j.driver.internal.BoltServerAddress address) close()intidleConnections(ServerAddress address) intinUseConnections(ServerAddress address) booleanisOpen(org.neo4j.driver.internal.BoltServerAddress address) voidtoString()
-
Constructor Details
-
ConnectionPoolImpl
public ConnectionPoolImpl(ChannelConnector connector, io.netty.bootstrap.Bootstrap bootstrap, PoolSettings settings, MetricsListener metricsListener, Logging logging, Clock clock, boolean ownsEventLoopGroup) -
ConnectionPoolImpl
protected ConnectionPoolImpl(ChannelConnector connector, io.netty.bootstrap.Bootstrap bootstrap, NettyChannelTracker nettyChannelTracker, NettyChannelHealthChecker nettyChannelHealthChecker, PoolSettings settings, MetricsListener metricsListener, Logging logging, Clock clock, boolean ownsEventLoopGroup, ConnectionFactory connectionFactory)
-
-
Method Details
-
acquire
- Specified by:
acquirein interfaceConnectionPool
-
retainAll
- Specified by:
retainAllin interfaceConnectionPool
-
inUseConnections
- Specified by:
inUseConnectionsin interfaceConnectionPool
-
idleConnections
- Specified by:
idleConnectionsin interfaceConnectionPool
-
close
- Specified by:
closein interfaceConnectionPool
-
isOpen
public boolean isOpen(org.neo4j.driver.internal.BoltServerAddress address) - Specified by:
isOpenin interfaceConnectionPool
-
toString
-