- 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 Connectionconnection()Return a connection from the pool.StringdbType()The type of this database - if better details than "jdbc" is available, return it.
-
-
-
Method Detail
-
connection
public Connection connection()
Description copied from interface:ConnectionPoolReturn 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:
connectionin interfaceConnectionPool- Returns:
- a connection read to execute statements
-
dbType
public String dbType()
Description copied from interface:ConnectionPoolThe type of this database - if better details than "jdbc" is available, return it. This could be "jdbc:mysql" etc.- Specified by:
dbTypein interfaceConnectionPool- Returns:
- type of this database
-
-