- java.lang.Object
-
- io.helidon.dbclient.jdbc.HikariConnectionPool
-
- All Implemented Interfaces:
ConnectionPool
public class HikariConnectionPool extends Object implements ConnectionPool
Hikari Connection Pool integration.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.helidon.dbclient.jdbc.ConnectionPool
ConnectionPool.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Connection
connection()
Return a connection from the pool.String
dbType()
The type of this database - if better details than "jdbc" is available, return it.
-
-
-
Method Detail
-
connection
public Connection connection()
Description copied from interface:ConnectionPool
Return a connection from the pool. The call toConnection.close()
should return that connection to the pool. The connection pool should handle capacity issues and timeouts using unchecked exceptions thrown by this method.- Specified by:
connection
in interfaceConnectionPool
- Returns:
- a connection read to execute statements
-
dbType
public String dbType()
Description copied from interface:ConnectionPool
The type of this database - if better details than "jdbc" is available, return it. This could be "jdbc:mysql" etc.- Specified by:
dbType
in interfaceConnectionPool
- Returns:
- type of this database
-
-