Package com.arangodb.internal.net
Class ConnectionPoolImpl
java.lang.Object
com.arangodb.internal.net.ConnectionPoolImpl
- All Implemented Interfaces:
ConnectionPool
,Closeable
,AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Constructor Summary
ConstructorsConstructorDescriptionConnectionPoolImpl
(HostDescription host, ArangoConfig config, ConnectionFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
release
(Connection connection) void
toString()
-
Field Details
-
HTTP1_SLOTS
public static final int HTTP1_SLOTS- See Also:
-
HTTP1_SLOTS_PIPELINING
public static final int HTTP1_SLOTS_PIPELINING- See Also:
-
HTTP2_SLOTS
public static final int HTTP2_SLOTS- See Also:
-
-
Constructor Details
-
ConnectionPoolImpl
-
-
Method Details
-
createConnection
- Specified by:
createConnection
in interfaceConnectionPool
-
connection
- Specified by:
connection
in interfaceConnectionPool
-
release
- Specified by:
release
in interfaceConnectionPool
-
setJwt
- Specified by:
setJwt
in interfaceConnectionPool
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
toString
-