public class HikariCPConnectionProvider extends Object implements ConnectionProvider
| Constructor and Description |
|---|
HikariCPConnectionProvider(Map<String,Object> configMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
called once when the system is shutting down, should be idempotent.
|
Connection |
getConnection()
Get connection.
|
void |
prepare()
method must be idempotent.
|
public void prepare()
ConnectionProviderprepare in interface ConnectionProviderpublic Connection getConnection()
ConnectionProvidergetConnection in interface ConnectionProviderpublic void cleanup()
ConnectionProvidercleanup in interface ConnectionProviderCopyright © 2023 The Apache Software Foundation. All rights reserved.